• Logrotation of Mystic logs

    From Biite@21:3/120 to All on Wed Sep 30 14:46:28 2020
    Hi,

    Anyone set up logrotation of the Mystic logs on Linux? Is there some kind of command to flush the logs so I can use logrotate, because I'm now bounce the MIS server :).

    Regards,
    Martien

    --- Mystic BBS v1.12 A46 2020/08/26 (Linux/64)
    * Origin: Westland BBS (21:3/120)
  • From Al@21:4/106.1 to Biite on Wed Sep 30 15:26:34 2020
    Anyone set up logrotation of the Mystic logs on Linux?

    Mystic can do it's own log rotating with logtype 1 or 2 in the config.

    Is there some kind of command to flush the logs so I can use logrotate,

    You can set log caching in the logging options for mis.log and poll.log in mystic -cfg and mutil in the ini file.

    because I'm now bounce the MIS server :).

    The mis server may not log if you bounce it to hard.. ;)

    --- BBBS/Li6 v4.10 Toy-4
    * Origin: The Rusty MailBox - Penticton, BC Canada (21:4/106.1)
  • From Zip@21:1/202 to Biite on Thu Oct 1 19:20:34 2020
    Hello Biite!

    On 30 Sep 2020, Biite said the following...
    Anyone set up logrotation of the Mystic logs on Linux? Is there some

    I disabled the built-in log rotation in Mystic, and am using logrotate
    instead as I'm used to. My /etc/logrotate.d/custom_mystic:

    /mnt/bbs/mystic/logs/*.log {
    daily
    notifempty
    missingok
    rotate 7
    compress
    delaycompress
    copytruncate
    su bbs bbs
    }

    (Mystic logs are in /mnt/bbs/mystic/logs and Mystic is running as the "bbs" user, "bbs" group.)

    Best regards
    Zip

    --- Mystic BBS v1.12 A47 2020/09/27 (Linux/64)
    * Origin: Star Collision BBS, Uppsala, Sweden (21:1/202)
  • From Biite@21:3/120 to Zip on Sun Oct 4 14:00:08 2020
    Hi Zip,

    I disabled the built-in log rotation in Mystic, and am using logrotate instead as I'm used to. My /etc/logrotate.d/custom_mystic:

    Will try with your settings... need to check if rotation is working correctly with running processes though.

    Regards,
    Martien

    --- Mystic BBS v1.12 A46 2020/08/26 (Linux/64)
    * Origin: Westland BBS (21:3/120)