1. 27 Feb, 2018 1 commit
    • confile: add lxc.console.size · 861813e5
      Christian Brauner authored
      lxc.console.size regulates the size of the console log file. This is intended
      to replace lxc.console.buffer.logfile. The current semantics are:
      
      - if lxc.console.size is not set:
        - no limit is placed on the size of the log file
      - if lxc.console.size is set:
        - if lxc.console.rotate is set and the next write would exceed the limit:
          - write as much as possible into the old log file
          - rotate the log file
          - write as much as posible into the new log file
          - discard remaining bytes (scenario shouldn't be possible in normal
            circumstances)
        - if lxc.console.rotate is not set and the next write would exceed the limit:
          - keep overwriting the current log file
      
      To make the log file a mirror of the in-memory ringbuffer simply set:
      lxc.console.buffer.size == lxc.console.size.
      Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
  2. 26 Feb, 2018 14 commits
  3. 25 Feb, 2018 3 commits
  4. 24 Feb, 2018 22 commits