1. 25 May, 2018 3 commits
  2. 24 May, 2018 27 commits
  3. 23 May, 2018 6 commits
  4. 22 May, 2018 2 commits
  5. 20 May, 2018 1 commit
    • log: enable per-thread container name prefix · c7b17051
      Christian Brauner authored
      When using the LXC API multi-thread and users initialize a log:
      
      struct lxc_log log;
      log.name = "my-log";
      lxc_log_init(&log);
      
      all threads will have the same "my-log" prefix even though thy might call
      lxc_container_new() in separate threads. There is currently no easy way to
      handle per-thread container name prefixes.
      To handle this carry a reference to the name of the container in struct
      lxc_conf and if no log.name was set, use it by default. This way each thread
      will get the container it is currently working on as a log-prefix.
      Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
      Reported-by: 's avatarduguhaotian <duguhaotian@gmail.com>
  6. 19 May, 2018 1 commit