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,
How to delete logs?
-
- Posts: 184
- Joined: Sun Jul 19, 2015 4:23 pm
Re: How to delete logs?
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)?
-
- Posts: 47
- Joined: Tue Mar 14, 2017 9:38 am
Re: How to delete logs?
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'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.
-
- Posts: 184
- Joined: Sun Jul 19, 2015 4:23 pm
Re: How to delete logs?
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/
-
- Posts: 47
- Joined: Tue Mar 14, 2017 9:38 am
Re: How to delete logs?
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 :)
> 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 :)