standard logging from script


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. logger=/usr/bin/logger
  2. log="$logger -t $me"
  3. debug="$log -p user.debug"
  4. warn="$log -p user.warning"
  5. error="$log -p user.error"

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.