You can see the details about this utility by executing it:
Code: Select all
root@AS-606T:/ # /usr/sbin/syslog
Syslog. Ver. 0.1.0
Copyright (C) 2012 Asustor Systems, Inc. All Rights Reserved.
Usage: /usr/sbin/syslog options
-h --help Display this usage information.
-q --quiet Be quiet.
-g --log <type> Type of log (0: System, 1: Connection, 2: File Access, 3: Boot Up)
-l --level <type> Type of level (0: INFO, 1: WARNING, 2: ERROR, 3: CRITICAL)
-t --time <datetime> Date and time format YYYY-MM-DD HH:mm:ss (2012-03-15 09:13:38)
-u --user <name> User name
-e --event <msg> Event message
-f --from <address> Log from which host ip address
-c --computer <name> Log from which computer name
-p --protocol <name> Connection/File Access protocol (service)
-i --action <type> Connection action (0: Sign in, 1: Sign out, 2: Sign in failed)
-a --access <type> File access type (0: Read, 1: Write, 2: Delete, 3: Create, 4: Create Folder, 5: Delete Folder, 6: Rename, 7: Move/Copy )
-s --source <path> File access file full path
System log:
Code: Select all
/usr/sbin/syslog --log 0 --level 0 --user admin --event "System started"
Code: Select all
/usr/sbin/syslog -g 1 -l 1 -u admin -f 192.168.0.1 -c User-PC -p SAMBA -i 2
Code: Select all
/usr/sbin/syslog -g 2 -l 1 -u admin -f 192.168.1.10 -p FTP -a 2 -s "/volume1/Public/file.txt"