• Hi!

    From Sean Dennis@1:18/200 to All on Sun Jun 21 12:05:53 2015
    Hello All,

    I've picked up this echo again.

    Are any of you using logrotate to manage the logs MBSE generates?

    --Sean

    ... Good: You came home for a quickie. Bad: So did the postman.
    --- GoldED+/LNX 1.1.5-b20130910
    * Origin: Outpost BBS * Johnson City, TN, USA (1:18/200)
  • From Paul Hayton@3:770/100 to Sean Dennis on Mon Jun 22 21:05:34 2015
    On 06/21/15, Sean Dennis pondered and said...

    @MSGID: 1:18/200@fidonet 5586e0fd
    @CHRS: CP437 2
    @TZUTC: -0400
    @TID: MBSE-FIDO 1.0.5.1 (GNU/Linux-i386)
    @SEEN-BY: 57/0 226/100 280/464 770/0 1 100 200 772/0 1 210
    @PATH: 18/200 261/38 140/1 221/0 1 203/0 280/464 770/1
    Hello All,

    I've picked up this echo again.

    Hi Sean... just to let you know you are getting out over my side of the
    globe. hope all is well with you :-)

    best, Paul

    --
    Agency BBS, New Zealand | bbs.geek.nz | telnet: agency.bbs.geek.nz:23

    --- Mystic BBS v1.10 (Windows)
    * Origin: Agency BBS | telnet://agency.bbs.geek.nz (3:770/100)
  • From Vince Coen@2:250/1 to Sean Dennis on Tue Jun 23 00:49:26 2015
    Hello Sean!

    Sunday June 21 2015 12:05, you wrote to All:

    Hello All,

    I've picked up this echo again.

    Are any of you using logrotate to manage the logs MBSE generates?


    Yes.

    Assume the next question is what/how etc so:

    ------------------------
    [vince@study ~]$ tail /etc/logrotate.conf
    }

    # system-specific logs may be configured here
    /home/mbse/log/debug.log /home/mbse/log/error.log /home/mbse/log/manager.log /home/mbse/log/mbmon.log /home/mbse/log/mbtask.log /home/mbse/log/system.log /home/mbse/log/virus.log {
    su mbse bbs
    create 0664 mbse bbs
    monthly
    rotate 6
    }


    ------------------------


    Vince

    --- Mageia Linux v4/Mbse v1.0.4/GoldED+/LNX 1.1.5-b20130910
    * Origin: Air Applewood, The Linux Gateway to the UK (2:250/1)
  • From Sean Dennis@1:18/200 to Paul Hayton on Mon Jun 22 20:04:34 2015
    Hello Paul,

    22 Jun 15 21:05, you wrote to me:

    Hi Sean... just to let you know you are getting out over my side of
    the globe. hope all is well with you :-)

    Glad to know it's getting out! I added a little feature to MBSE for myself. :)

    See, I enjoy putting up "holiday" ANSI/ASCII screens. Now MBSE can do so if someone wants to turn on bulletins, but I wanted something simpler, much like what I did when I ran Maximus/2. Using Maximus' scripting language, I programmed in a little script that checked if "holiday.bbs" (Maximus requires all ANSI screens to be converted to bytecode to show correctly) existed, it'd show it. I put a little line in newuser.c that checks for the existence of "holiday.ans/.asc" and shows it.

    A very small thing to do but I thought it was fun. I also wrote a few scripts that work together that allow me to automate the nodelist and infopack archive creation and hatching for my own FTN network, Micronet.

    MBSE is quite powerful in many ways if you don't mind getting under the hood and learning.

    --Sean

    ... If you become a success, you don't change - Everyone else does.
    --- GoldED+/LNX 1.1.5-b20130910
    * Origin: Outpost BBS * Johnson City, TN, USA (1:18/200)
  • From Sean Dennis@1:18/200 to Vince Coen on Mon Jun 22 23:25:52 2015
    Hello Vince,

    23 Jun 15 00:49, you wrote to me:

    Assume the next question is what/how etc so:

    That was exactly what I was going to ask, thank you!

    --Sean

    ... Marriage is not a word but a sentence.
    --- GoldED+/LNX 1.1.5-b20130910
    * Origin: Outpost BBS * Johnson City, TN, USA (1:18/200)
  • From mark lewis@1:3634/12.73 to Vince Coen on Tue Jun 23 10:30:50 2015

    23 Jun 15 00:49, you wrote to Sean Dennis:

    # system-specific logs may be configured here
    /home/mbse/log/debug.log /home/mbse/log/error.log /home/mbse/log/manager.log /home/mbse/log/mbmon.log /home/mbse/log/mbtask.log
    /home/mbse/log/system.log /home/mbse/log/virus.log {
    su mbse bbs
    create 0664 mbse bbs

    wotz'is "create" line do?

    monthly
    rotate 6
    }

    ------------------------


    )\/(ark

    ... We're talking about sex, right? - Simpson, Homer
    ---
    * Origin: (1:3634/12.73)
  • From mark lewis@1:3634/12.73 to Sean Dennis on Tue Jun 23 10:33:00 2015

    22 Jun 15 20:04, you wrote to Paul Hayton:

    See, I enjoy putting up "holiday" ANSI/ASCII screens. Now MBSE can do so if someone wants to turn on bulletins, but I wanted something simpler,
    much
    like what I did when I ran Maximus/2. Using Maximus' scripting language,
    I
    programmed in a little script that checked if "holiday.bbs" (Maximus requires all ANSI screens to be converted to bytecode to show correctly) existed, it'd show it. I put a little line in newuser.c that checks for the existence of "holiday.ans/.asc" and shows it.

    does mbse have the ability to display certain files based on the date?

    eg:
    01-01.ans happy new year
    02-14.ans valentines day
    03-17.ans st. patricks day
    07-04.ans 4th of july
    12-**.ans holiday screen for each day of december

    i've thought about doing something to allow for the selection of a random screen from a set...

    eg:
    01-01xxx.ans where xxx is -00 thru -99 or maybe just 000-999 for 1000 choices...

    coming up with that many christmas screens would be daunting :)

    )\/(ark

    ... Time moves slower in a fast moving vehicle.
    ---
    * Origin: (1:3634/12.73)
  • From Vince Coen@2:250/1 to mark lewis on Tue Jun 23 16:29:15 2015
    Hello mark!

    Tuesday June 23 2015 10:30, you wrote to me:


    23 Jun 15 00:49, you wrote to Sean Dennis:

    # system-specific logs may be configured here
    /home/mbse/log/debug.log /home/mbse/log/error.log
    /home/mbse/log/manager.log /home/mbse/log/mbmon.log
    /home/mbse/log/mbtask.log
    /home/mbse/log/system.log /home/mbse/log/virus.log {
    su mbse bbs
    create 0664 mbse bbs

    wotz'is "create" line do?

    using man logrotate it shows:

    ----------------------
    create mode owner group, create owner group
    Immediately after rotation (before the postrotate script is run)
    the log file is created (with the same name as the log file just
    rotated). mode specifies the mode for the log file in octal
    (the same as chmod(2)), owner specifies the user name who will
    own the log file, and group specifies the group the log file
    will belong to. Any of the log file attributes may be omitted,
    in which case those attributes for the new file will use the
    same values as the original log file for the omitted attributes.
    This option can be disabled using the nocreate option. ----------------------



    Vince

    --- Mageia Linux v4/Mbse v1.0.4/GoldED+/LNX 1.1.5-b20130910
    * Origin: Air Applewood, The Linux Gateway to the UK (2:250/1)
  • From mark lewis@1:3634/12.73 to Vince Coen on Tue Jun 23 17:00:32 2015

    23 Jun 15 16:29, you wrote to me:

    Hello mark!

    Tuesday June 23 2015 10:30, you wrote to me:


    23 Jun 15 00:49, you wrote to Sean Dennis:

    # system-specific logs may be configured here
    /home/mbse/log/debug.log /home/mbse/log/error.log
    /home/mbse/log/manager.log /home/mbse/log/mbmon.log
    /home/mbse/log/mbtask.log
    /home/mbse/log/system.log /home/mbse/log/virus.log {
    su mbse bbs
    create 0664 mbse bbs

    wotz'is "create" line do?

    using man logrotate it shows:

    yeah, i found that after my message was gone... it is something i've never needed in anything i've every used logrotate on... i actually learned something... the question now is if i'll retain the knowledge or not ;)

    )\/(ark

    ... 4 AM? Already? Oh no, not again!!
    ---
    * Origin: (1:3634/12.73)
  • From Sean Dennis@1:18/200 to mark lewis on Wed Jun 24 01:46:05 2015
    Hello mark,

    23 Jun 15 10:33, you wrote to me:


    does mbse have the ability to display certain files based on the date?

    From what I've been told, it does (just not documented yet). I'm weird because I like to put the screen up a few weeks before. All it took was one line of C code to do what I want...works fine. :)

    --Sean

    ... Success is a public affair. Failure is a private funeral.
    --- GoldED+/LNX 1.1.5-b20130910
    * Origin: Outpost BBS * Johnson City, TN, USA (1:18/200)
  • From Vince Coen@2:250/1 to mark lewis on Thu Jun 25 14:38:22 2015
    Hello mark!

    Tuesday June 23 2015 17:00, you wrote to me:


    wotz'is "create" line do?

    using man logrotate it shows:

    yeah, i found that after my message was gone... it is something i've
    never needed in anything i've every used logrotate on... i actually
    learned something... the question now is if i'll retain the knowledge
    or not ;)

    Personally, I found out what was causing that - so I switched drinking beer for
    Red wine.

    Problem has gone.

    Hmm, what was the subject again ? :)


    Vince

    --- Mageia Linux v4/Mbse v1.0.4/GoldED+/LNX 1.1.5-b20130910
    * Origin: Air Applewood, The Linux Gateway to the UK (2:250/1)