Commit 6b9f3917 by Daniel Lezcano

Revert "make the log fd thread safe"

This reverts commit 2c9bd007. Pointless and useless right now and certainly wrong as several threads in the library may want to log to the same, to be defined later.
parent f8dafdbb
......@@ -35,8 +35,11 @@
#include <lxc/log.h>
static __thread int lxc_log_fd = 2;
static __thread char log_prefix[LXC_LOG_PREFIX_SIZE] = "lxc";
#define LXC_LOG_PREFIX_SIZE 32
#define LXC_LOG_BUFFER_SIZE 512
int lxc_log_fd = 2;
static char log_prefix[LXC_LOG_PREFIX_SIZE] = "lxc";
lxc_log_define(lxc_log, lxc);
......
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