How to delete logs?

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
aboka
Posts: 47
Joined: Tue Mar 14, 2017 9:38 am

How to delete logs?

Post by aboka » Mon May 15, 2017 4:11 pm

hi, can anyone please guide us on howto safely delete the logs in SE server? as we are seeing more and more log file in the log file list section.

thank you,

fenice
Posts: 183
Joined: Sun Jul 19, 2015 4:23 pm

Re: How to delete logs?

Post by fenice » Mon May 15, 2017 5:14 pm

You'd have to give a bit more detail such as which operating system you're using to run SE, do you just want to remove them or would you rather rotate them (usually a good idea)?
Regards


Bill

aboka
Posts: 47
Joined: Tue Mar 14, 2017 9:38 am

Re: How to delete logs?

Post by aboka » Thu May 18, 2017 8:18 am

fenice wrote:
> You'd have to give a bit more detail such as which operating system you're
> using to run SE, do you just want to remove them or would you rather rotate
> them (usually a good idea)?

hi, sorry for the vague question. we are using Centos 7. we like to delete the old Security Log where we hv no use of them. For eg. 3 month ago.

could we go inside the folder and safely delete them? if yes, could you tell us where is the path to the folder?

thank you,
You do not have the required permissions to view the files attached to this post.

fenice
Posts: 183
Joined: Sun Jul 19, 2015 4:23 pm

Re: How to delete logs?

Post by fenice » Thu May 18, 2017 8:36 am

If you want to keep logfiles for a specific period then you need to configure logrotate (it should already be installed) to keep them, take a look at this article for a simple explanation: https://www.tecmint.com/install-logrota ... -in-linux/
Regards


Bill

aboka
Posts: 47
Joined: Tue Mar 14, 2017 9:38 am

Re: How to delete logs?

Post by aboka » Thu May 18, 2017 9:47 pm

fenice wrote:
> If you want to keep logfiles for a specific period then you need to
> configure logrotate (it should already be installed) to keep them, take a
> look at this article for a simple explanation:
> https://www.tecmint.com/install-logrota ... -in-linux/

hi, thanks for the interesting intro to logrotate. thank you :)

Post Reply