]> arthur.barton.de Git - netatalk.git/blobdiff - bin/misc/uuidtest.c
New option for logger setup 'console' where we don't write the message details stuff
[netatalk.git] / bin / misc / uuidtest.c
index 215f23f5a01f7d772d0ce30bcd3dc17d2cd53334..de114eb30549c7c0b907c7d07e3ca6aa9a8f353d 100644 (file)
@@ -1,5 +1,5 @@
 /*
-  $Id: uuidtest.c,v 1.1 2009-11-27 21:15:48 franklahm Exp $
+  $Id: uuidtest.c,v 1.2 2009-11-28 12:20:12 franklahm Exp $
   Copyright (c) 2008,2009 Frank Lahm <franklahm@gmail.com>
 
   This program is free software; you can redistribute it and/or modify
@@ -73,7 +73,7 @@ int main( int argc, char **argv)
     char *uuidstring = NULL;
     char *name = NULL;
 
-    setuplog("default log_error /dev/tty");
+    setuplog("console log_error /dev/tty");
 
     while ((c = getopt(argc, argv, ":vu:g:i:")) != -1) {
         switch(c) {
@@ -81,7 +81,7 @@ int main( int argc, char **argv)
         case 'v':
             if (! verbose) {
                 verbose = 1;
-                setuplog("default log_debug /dev/tty");
+                setuplog("console log_debug /dev/tty");
             }
             break;