Linux nerds: syslog question

Discussion in 'OT Technology' started by Ticallion, Nov 26, 2004.

  1. Ticallion

    Ticallion OT Supporter

    Joined:
    May 28, 2004
    Messages:
    8,195
    Likes Received:
    0
    Location:
    brOntario PSN: kgbpaintrain
    How do you log to syslog... specifically an error from a bash shell script, stored in variable $newacc?

    I've used logger -p auth.info, but the documentation doesn't want it done that way because it wants the script name, PID, etc...

    Any ideas?
     

Share This Page