Changing base directory for server logs

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
saiachyuth007
Posts: 2
Joined: Wed Oct 07, 2020 7:11 am

Changing base directory for server logs

Post by saiachyuth007 » Fri Nov 20, 2020 7:15 am

I have changed the log directory base to a directory in /var/log and I am seeing some issues :
1. Default logrotate policy in softether is not kicking in and does not limit the number of files and it keeps growing.
2. The logs stop once it reaches the maximum size limit(2 GB) instead of creating a new file with a '~'.

I have changed the SERVER_LOG_DIR_NAME to /var/log/vpnlog and create the directory on startup .
Am I missing something here ?

Post Reply