Menu

#68 log to a file

3.8
closed
wimpunk
wontfix
ddclient
major
3.8.0
enhancement
2012-09-13
2012-09-01
AT-HE
No

hi, congratulations for this light, highly optimized, fast and very useful masterpiece of software

i am very happy with ddclient at my home server (centos58), but my /var/log/messages are plenty full of ddclient messages making me very hard to read it

is there an option to config a custom log file to isolate messages? (and maybe later create a logrotate policy)

Discussion

  • wimpunk

    wimpunk - 2012-09-01
    • priority changed from major to minor
    • status changed from new to closed
    • resolution set to fixed
    • type changed from enhancement to help

    Hi,

    You can use -facility and -priority to change how ddclient logs. According to help:

      -facility {type}      : log messages to syslog to facility {type} (default: da
    emon).
      -priority {pri}       : log messages to syslog with priority {pri} (default: n
    otice).
    

    Unfortunately it doesn't change the number of messages. All messages are logged with the same facility.priority.

     
  • AT-HE

    AT-HE - 2012-09-07
    • priority changed from minor to major
    • status changed from closed to reopened
    • resolution fixed deleted
    • type changed from help to enhancement

    yes but think an option like

    -logfile /var/log/mycustom.log

    i want log to my custom file, not to syslog
    you didn't answer i was talking really

     
  • wimpunk

    wimpunk - 2012-09-13
    • status changed from reopened to closed
    • resolution set to wontfix

    Sorry, but I don't have the time to such a big changement and I really feel no need to change the way ddclient logs because syslog is just the best thing to use for logging.