Commit b780cb69 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor change to allow use with programs that setup syslog themselves.

parent a733e4c6
......@@ -52,6 +52,15 @@ loginit(int slog, char *name)
return 0;
}
/*
* Switch to syslog; caller has already opened syslog connection.
*/
void
logsyslog(void)
{
usesyslog = 1;
}
void
info(const char *fmt, ...)
{
......
/*
* EMULAB-COPYRIGHT
* Copyright (c) 2000-2002 University of Utah and the Flux Group.
* Copyright (c) 2000-2003 University of Utah and the Flux Group.
* All rights reserved.
*/
......@@ -10,6 +10,7 @@
#include <stdarg.h>
int loginit(int usesyslog, char *name);
void logsyslog(void);
void info(const char *fmt, ...);
void warning(const char *fmt, ...);
void error(const char *fmt, ...);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment