This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

iprintgw Jobfile in both iprintgw.log and messages log

Hi Community,

why do i get same notification for print job in both /var/opt/novell/log/iprint/iprintgw.log and /var/log/messages ?

iprintgw[20528]: ********************JobFile is /var/opt/novell/iprint/Iprint99PrintManager.PRINTING.CONTAINER01.OUO.psm/6179BC47.PA/8.1

Thanks,

Pascal

Everyone is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. [A. Einstein]

Parents
  • 0  

    once upon a time we could just change some syslog-ng config files to fix that.

    now it is all moved into systemd journald path that I haven't gotten my head around yet (so many interesting|useful things to play with, so little time)

    so if that gives you enough of a clue so that someone can post steps as to cleanly stop the double posting to be only in the iprintgw.log  there would be several of us who it would help a whole bunch.

    ________________________

    Andy of KonecnyConsulting.ca in Toronto
    Please use the "Like" and/or "Verified Answers" as appropriate as that helps us all.

Reply
  • 0  

    once upon a time we could just change some syslog-ng config files to fix that.

    now it is all moved into systemd journald path that I haven't gotten my head around yet (so many interesting|useful things to play with, so little time)

    so if that gives you enough of a clue so that someone can post steps as to cleanly stop the double posting to be only in the iprintgw.log  there would be several of us who it would help a whole bunch.

    ________________________

    Andy of KonecnyConsulting.ca in Toronto
    Please use the "Like" and/or "Verified Answers" as appropriate as that helps us all.

Children
  • Suggested Answer

    0 in reply to   

    Hi Andy,

    digging and googling helps me out ...

    just create the following file /etc/rsyslog.d/iprintgw.conf

    if      ($programname == 'iprintgw') or \
            ($programname startswith 'iprintgw') \
    then {
            -/var/opt/novell/log/iprint/iprintgw.log
            stop
    }

    and then systemctl restart rsyslog.service

    did the trick,

    I do not know if this is a good idea, but at least helps me out avoiding a pollution in my syslog collector

    Everyone is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. [A. Einstein]