aboutsummaryrefslogtreecommitdiffstats
path: root/add-syslog
Commit message (Collapse)AuthorAgeFilesLines
* - Fix bug when handling log entries comprised of all levels at syslog-ngHerton Ronaldo Krzesinski2005-08-191-1/+3
| | | | | | | | | | | configuration file. - Correctly handle '*' character inside names of configuration tokes, not make it be interpreted like a shell wildcard or sed regular expression. - Fix bug when get source name inside add-syslog, in the case there isn't a different source, instead the default source /dev/log is used (the case where $source variable is empty).
* - Fix usage bug: add-syslog and del-syslog can also accept only oneHerton Ronaldo Krzesinski2005-08-041-5/+6
| | | | | | | | | | | | parameter, the unix stream log source. - Shell script must exit with 'exit' command, not 'return'. - Before using service command we must check if the initscript exist. - Fixed sed expression for adding a syslog source to syslog-ng inside the same source of /dev/log. - Removed duplicated comment. - We must check level if empty in del-syslog, in the case we're using only source argument, otherwise we get various grep usage erros.
* - Argh: forgot to add the script files.Herton Ronaldo Krzesinski2005-08-031-0/+234