• Logging to /var/log/sbbs.log in Ubuntu Linux

    From Sam Alexander@VERT/2400BAUD to All on Friday, April 10, 2015 23:46:31
    Hi all. I just installed Sync on Linux, and I'm unable to get logging to work.
    I added LogFacility=3 to sbbs.ini then added this to /etc/rsyslog.conf

    local3.* /var/log/sbbs.log

    And I created this file. I've restarted the entire server, but I'm still only getting logs written to /var/log/syslog and none going to sbbs.log.

    Any suggestions? Thanks.
    Sam

    ---
    þ Synchronet þ 2400 Baud BBS - Waco, Tx - telnet://2400baud.net
  • From Mro@VERT/BBSESINF to Sam Alexander on Saturday, April 11, 2015 20:12:57
    Re: Logging to /var/log/sbbs.log in Ubuntu Linux
    By: Sam Alexander to All on Fri Apr 10 2015 11:46 pm

    Hi all. I just installed Sync on Linux, and I'm unable to get logging to work.
    I added LogFacility=3 to sbbs.ini then added this to /etc/rsyslog.conf

    local3.* /var/log/sbbs.log

    And I created this file. I've restarted the entire server, but I'm still only getting logs written to /var/log/syslog and none going to sbbs.log.

    Any suggestions? Thanks.


    check your permissions.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From Digital Man@VERT to Sam Alexander on Monday, April 13, 2015 18:20:55
    Re: Logging to /var/log/sbbs.log in Ubuntu Linux
    By: Sam Alexander to All on Fri Apr 10 2015 11:46 pm

    Hi all. I just installed Sync on Linux, and I'm unable to get logging to work.
    I added LogFacility=3 to sbbs.ini then added this to /etc/rsyslog.conf

    local3.* /var/log/sbbs.log

    And I created this file. I've restarted the entire server, but I'm still only getting logs written to /var/log/syslog and none going to sbbs.log.

    Any suggestions? Thanks.

    Which Linux? I believe there are multiple syslog and rsyslog implementations. On Debian 7.6, I created the file /etc/rsyslog.d/sbbslog.conf with the contents
    you pasted above and it works great (with LogFacility=3). Also, I assume you're
    running Synchronet daemonized already?

    digital man

    Synchronet "Real Fact" #42:
    Synchronet added Baja/PCMS support with v2.00a (1994).
    Norco, CA WX: 71.0øF, 54.0% humidity, 13 mph SE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Sam Alexander@VERT/2400BAUD to Digital Man on Tuesday, April 14, 2015 20:48:34
    Re: Logging to /var/log/sbbs.log in Ubuntu Linux
    By: Digital Man to Sam Alexander on Mon Apr 13 2015 06:20 pm

    Which Linux? I believe there are multiple syslog and rsyslog implementations. On Debian 7.6, I created the file /etc/rsyslog.d/sbbslog.conf with the contents you pasted above and it works great (with LogFacility=3). Also, I assume you're running Synchronet daemonized already?

    Sorry I should've added more details, I'm running Ubuntu Server 14.04. I tried creating /etc/rsyslog.d/sbbslog.conf and adding the line to it, then rebooted. It's still not writing to the file, but I'm sure i just have something wrong, maybe a permission or something.

    Thanks again for your help.

    ---
    þ Synchronet þ 2400 Baud BBS - Waco, Tx - telnet://2400baud.net
  • From Digital Man@VERT to Sam Alexander on Tuesday, April 14, 2015 21:44:42
    Re: Logging to /var/log/sbbs.log in Ubuntu Linux
    By: Sam Alexander to Digital Man on Tue Apr 14 2015 08:48 pm

    Re: Logging to /var/log/sbbs.log in Ubuntu Linux
    By: Digital Man to Sam Alexander on Mon Apr 13 2015 06:20 pm

    Which Linux? I believe there are multiple syslog and rsyslog implementations. On Debian 7.6, I created the file /etc/rsyslog.d/sbbslog.conf with the contents you pasted above and it works great (with LogFacility=3). Also, I assume you're running Synchronet daemonized already?

    Sorry I should've added more details, I'm running Ubuntu Server 14.04. I tried creating /etc/rsyslog.d/sbbslog.conf and adding the line to it, then rebooted. It's still not writing to the file, but I'm sure i just have something wrong, maybe a permission or something.

    What user are you running the BBS as? Can you print the "ls -l" output for /var/log/sbbs.log?

    digital man

    Synchronet "Real Fact" #6:
    The name "Synchronet" was suggested by Steve Deppe (Ille Homine Albe) in 1991. Norco, CA WX: 61.5øF, 70.0% humidity, 6 mph SSE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net