]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - server.ggo
Move color logging code to daemon.c and use it also for para_audiod.
[paraslash.git] / server.ggo
index fc60637204c2362854cc0866e1218fd9239ea8ae..055dbc10b59eed44c86b0679402f457f556a2dce 100644 (file)
@@ -16,7 +16,7 @@ details="
        while level 3 (warning) logs unexpected events that can be
        handled. Unhandled error conditions are logged with loglevel
        4 (error) and crititcal errors are logged using loglevel 5
        while level 3 (warning) logs unexpected events that can be
        handled. Unhandled error conditions are logged with loglevel
        4 (error) and crititcal errors are logged using loglevel 5
-       (crit).  Finally, loglevel 6 (emerg) is reserved for messages
+       (crit). Finally, loglevel 6 (emerg) is reserved for messages
        that cause para_server to terminate immediately.
 "
 
        that cause para_server to terminate immediately.
 "
 
@@ -35,7 +35,20 @@ string typestr="color_spec"
 multiple
 optional
 details="
 multiple
 optional
 details="
-       Example: --log_color \"INFO:yellow black bold\"
+       The format of \"color_spec\" is [fg [bg]] [attr].
+
+       Valid colors for \"fg\" and \"bg\" are \"normal\", \"black\",
+       \"red\", \"green\", \"yellow\", \"blue\", \"magenta\",
+       \"cyan\", and \"white\".
+
+       The \"attr\" value must be one of \"bold\", \"dim\", \"ul\",
+       \"blink\", \"reverse\".
+
+       Examples:
+
+               --log_color \"debug:green\"
+               --log_color \"info:yellow bold\"
+               --log_color \"notice:white red bold\"
 "
 
 option "port" p
 "
 
 option "port" p
@@ -76,7 +89,7 @@ details="
        of 'name'. As the configuration file is read afterwards,
        those options that have a default value depending on the UID
        (e.g. the directory for the configuration file) are computed
        of 'name'. As the configuration file is read afterwards,
        those options that have a default value depending on the UID
        (e.g. the directory for the configuration file) are computed
-       by using the uid of 'name'.  This option has no effect if
+       by using the uid of 'name'. This option has no effect if
        para_server is started as a non-root user (i.e.  EUID != 0)
 "
 
        para_server is started as a non-root user (i.e.  EUID != 0)
 "