summaryrefslogtreecommitdiff
path: root/log.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2013-04-23 15:21:06 +1000
committerDamien Miller <djm@mindrot.org>2013-04-23 15:21:06 +1000
commit03d4d7e60b16f913c75382e32e136ddfa8d6485f (patch)
tree56db601b0ddcd36e27c565ce0e127330ac2de381 /log.h
parent37f1c08473b1ef2a188ee178ce2e11e841f88563 (diff)
downloadopenssh-git-03d4d7e60b16f913c75382e32e136ddfa8d6485f.tar.gz
- dtucker@cvs.openbsd.org 2013/04/07 02:10:33
[log.c log.h ssh.1 ssh.c sshd.8 sshd.c] Add -E option to ssh and sshd to append debugging logs to a specified file instead of stderr or syslog. ok markus@, man page help jmc@
Diffstat (limited to 'log.h')
-rw-r--r--log.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/log.h b/log.h
index e3e328b0..ae7df25d 100644
--- a/log.h
+++ b/log.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.h,v 1.19 2012/09/06 04:37:39 dtucker Exp $ */
+/* $OpenBSD: log.h,v 1.20 2013/04/07 02:10:33 dtucker Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -51,6 +51,7 @@ typedef void (log_handler_fn)(LogLevel, const char *, void *);
void log_init(char *, LogLevel, SyslogFacility, int);
void log_change_level(LogLevel);
int log_is_on_stderr(void);
+void log_redirect_stderr_to(const char *);
SyslogFacility log_facility_number(char *);
const char * log_facility_name(SyslogFacility);