One option to implement openlog and syslog functionality in windows is to use windows event logger. But it looks like it involves changing registry settings and in general looks complicated.
For the time being, do nothing for syslog. All the information needed for debugging will be present through the 'file' option anyways. We can start OVS daemons on windows with "-vfile:info -vsyslog:off". Signed-off-by: Gurucharan Shetty <gshe...@nicira.com> --- include/windows/syslog.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/windows/syslog.h b/include/windows/syslog.h index 4a2f38b..41267da 100644 --- a/include/windows/syslog.h +++ b/include/windows/syslog.h @@ -37,4 +37,15 @@ #define LOG_LOCAL6 (22<<3) /* reserved for local use */ #define LOG_LOCAL7 (23<<3) /* reserved for local use */ +static inline void +openlog(const char *ident OVS_UNUSED, int option OVS_UNUSED, + int facility OVS_UNUSED) +{ +} + +static inline void +syslog(int priority OVS_UNUSED, const char *format OVS_UNUSED, ...) +{ +} + #endif /* syslog.h */ -- 1.7.9.5 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev