ok, so I think what the issue is. I found a different rule that would
do:

& ~

However, that means " stop logging anything that matches the last rule",
however, instead of stopping just that rule, it was stopping everything.
The reason why this was stopping everything is because it didn't really
match the last rle, provided that the last rule was wrapped in an if
statement, hence it was completely stopping rsyslog logging.

** No longer affects: rsyslog (Ubuntu)

** Also affects: maas
   Importance: Undecided
       Status: New

** No longer affects: systemd (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1575337

Title:
  syslog.log is completely empty

Status in MAAS:
  New

Bug description:
  130 roaksoax@unleashed:~/Desktop/project/packaging⟫ dpkg -l | grep rsyslog
  ii  rsyslog                                              8.16.0-1ubuntu3      
                      amd64        reliable system and kernel logging daemon
  ii  rsyslog-gnutls                                       8.16.0-1ubuntu3      
                      amd64        TLS protocol support for rsyslog

  roaksoax@unleashed:~/Desktop/project/packaging⟫ sudo service rsyslog status
  [sudo] password for roaksoax: 
  ● rsyslog.service - System Logging Service
     Loaded: loaded (/lib/systemd/system/rsyslog.service; enabled; vendor 
preset: enabled)
     Active: active (running) since Tue 2016-04-26 16:12:24 EDT; 1h 39min ago
       Docs: man:rsyslogd(8)
             http://www.rsyslog.com/doc/
   Main PID: 26547 (rsyslogd)
      Tasks: 5 (limit: 512)
     Memory: 1.3M
        CPU: 174ms
     CGroup: /system.slice/rsyslog.service
             └─26547 /usr/sbin/rsyslogd -n

  Apr 26 16:12:24 unleashed systemd[1]: Starting System Logging Service...
  Apr 26 16:12:24 unleashed systemd[1]: Started System Logging Service.

  roaksoax@unleashed:~/Desktop/project/packaging⟫ sudo cat /var/log/syslog
  roaksoax@unleashed:~/Desktop/project/packaging⟫

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1575337/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to