]> git.ipfire.org Git - thirdparty/lxc.git/commit
log: use N/A if getpid() != gettid() when threaded 1319/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 25 Nov 2016 19:23:00 +0000 (20:23 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Fri, 25 Nov 2016 19:24:26 +0000 (20:24 +0100)
commit450b6d3d684000762dab8817825feb6da55b08f4
tree2bacdd26abeb6ff2e2b2fc2435c8e02578d628ec
parent0dcdbf8a67534897275795edddd5550993ecc003
log: use N/A if getpid() != gettid() when threaded

Sample log output:

    lxc 20161125201943.819 INFO     lxc_start - start.c:lxc_check_inherited:243 - Closed inherited fd: 54.
--> lxc N/A                INFO     lxc_monitor - monitor.c:lxc_monitor_sock_name:178 - using monitor sock name lxc/ad055575fe28ddd5//var/lib/lxc
    lxc 20161125201943.958 DEBUG    lxc_commands - commands.c:lxc_cmd_handler:893 - peer has disconnected
--> lxc N/A                DEBUG    lxc_commands - commands.c:lxc_cmd_get_state:579 - 'lxc-test-concurrent-0' is in 'RUNNING' state
    lxc 20161125201943.960 DEBUG    lxc_commands - commands.c:lxc_cmd_handler:893 - peer has disconnected
    lxc 20161125201944.009 INFO     lxc_start - start.c:lxc_check_inherited:243 - Closed inherited fd: 3.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/log.c