All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sun May 07, 2023 9:43 pm 

Joined: Mon Dec 30, 2019 12:34 pm
Posts: 7
I just installed MicroMPX on a Linux computer and normally applications log to something like /var/log/micrompx. However MicroMPX seems to log to the users home directory and write a new log file every time it's started.

There seems to be no command line start options to specify a logging directory or configuration file at all. Which is weird for a Linux application, but it's fine I guess. However the logging behavior is documented nowhere. Can anyone tell me if it rotates it's own logs and deletes old logs after some time, or do I need to set up log rotate and deletion rules for it?


Top
   
PostPosted: Mon May 15, 2023 5:06 pm 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 11185
Quote:
I just installed MicroMPX on a Linux computer and normally applications log to something like /var/log/micrompx. However MicroMPX seems to log to the users home directory and write a new log file every time it's started.

There seems to be no command line start options to specify a logging directory or configuration file at all. Which is weird for a Linux application, but it's fine I guess. However the logging behavior is documented nowhere. Can anyone tell me if it rotates it's own logs and deletes old logs after some time, or do I need to set up log rotate and deletion rules for it?
Hi,

Yes, it removes old log files, it has an internal parameter (LogRotationMaxTotalSizeMegaBytes, it's currently not accessible) that's set to 4 GB. When it exceeds that, old log files are removed.

We originally had it set to /var/log, but on some systems that directory wasn't writable.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited