|
Lines 882-888
Link Here
|
| 882 |
# |
882 |
# |
| 883 |
# echo $1 on stderr and write it to the syslog with priority user.error |
883 |
# echo $1 on stderr and write it to the syslog with priority user.error |
| 884 |
# |
884 |
# |
| 885 |
logger -s -p user.error -t [vdrrip-qh] "$1" |
885 |
logger -s -p user.error -t vdrrip-qh "$1" |
| 886 |
|
886 |
|
| 887 |
if [ "$2" ] |
887 |
if [ "$2" ] |
| 888 |
then |
888 |
then |
|
Lines 898-904
Link Here
|
| 898 |
# |
898 |
# |
| 899 |
# echo $1 on stdout and write it to the syslog with priority user.info |
899 |
# echo $1 on stdout and write it to the syslog with priority user.info |
| 900 |
# |
900 |
# |
| 901 |
logger -s -p user.info -t [vdrrip-qh] "$1" 2>&1 |
901 |
logger -s -p user.info -t vdrrip-qh "$1" 2>&1 |
| 902 |
} |
902 |
} |
| 903 |
|
903 |
|
| 904 |
|
904 |
|
|
Lines 908-914
Link Here
|
| 908 |
# |
908 |
# |
| 909 |
if [ "$debug" = "1" ] |
909 |
if [ "$debug" = "1" ] |
| 910 |
then |
910 |
then |
| 911 |
logger -s -p user.debug -t [vdrrip-qh] "$1" |
911 |
logger -s -p user.debug -t vdrrip-qh "$1" |
| 912 |
fi |
912 |
fi |
| 913 |
} |
913 |
} |
| 914 |
|
914 |
|