added new multi log system
[NeonServV5.git] / neonserv.example.conf
index afa81c01de00b796ca245b5fcb01319709f51833..ded933c179bd62a859320beb944ef718f3ef1901 100644 (file)
     "port" = 7499;
     "pass" = "blaa";
 };
-"log" { //neonserv.log
+"logs" {
     /*
-     1 - INFO
-     2 - ERROR
-     4 - RAW
-     8 - MYSQL
+    module:section = target_type:target
+    possible sections:
+        "info","debug","raw","mysql","override","warning","error","fatal"
+    possible targets:
+        file:log.log
+        irc:#channel
+        std:out
+        std:err
     */
-    "loglevel" = 3;
+    "*:info,warning,error,fatal" = "file:neonserv.log";
+    // "*:override,error,fatal" = "irc:#neonserv";
+    "*:info" = "std:out";
 };
 "modules" {
     "libglobalcmd" {