Skip to content
dfim.ron 2.37 KiB
Newer Older
Luker's avatar
Luker committed
(
Luker's avatar
Luker committed

  // extra safety: if you have not checked everything, we don't do anything
Luker's avatar
Luker committed
  //dry_run: true,
Luker's avatar
Luker committed
  dry_run: true,
Luker's avatar
Luker committed

Luker's avatar
Luker committed
  // Directory where to look for '*.ron' files where you can define each drive
  include: "/etc/dfim.d/",
  
  logging: {
    // how much to log. Mandatory
    // all logs less than this priority will be dropped
    // Possible values:
    //   Critical,
    //   Error,
    //   Warning,
    //   Info,
    //   Debug,
    //   Trace,
    level: Trace,
Luker's avatar
Luker committed
    
    // output format of the timestamps:
    // either "UTC" or "Local"
Luker's avatar
Luker committed
    // Usually It's a very good idea to keep all systems in UTC
Luker's avatar
Luker committed
    time: UTC,
    
    // Note: Terminal output will be overridden
    // if you activate syslog after it
    // possibilities: StdOut, StdErr
    terminal: StdErr,
    
    // Activating syslog will deactivate terminal logging
    //syslog: (
      // facility: force the reported syslog facility
      // possible values:
      //    Kern
      //    User
      //    Mail
      //    Daemon
      //    Auth
      //    Syslog
      //    Lpr
      //    News
      //    Uucp
      //    Cron
      //    Authpriv
      //    Ftp
      //    Local0
      //    Local1
      //    Local2
      //    Local3
      //    Local4
      //    Local5
      //    Local6
      //    Local7
      //facility: Local0,
      
      // force syslog log level
      // this is not the same as chosing the logging level,
      // but merely what we tell the syslog server
      // Possible values:
      //    Critical,
      //    error,
      //    Earning,
      //    Info,
      //    Debug,
      //    Trace,
      //level: Info,
      
      // How to send your logs to syslog:
      //dest: (
        // You can choose ONE between socket, udp, tcp:
        //socket : "/run/syslog.sock",
        //udp: (
          // hostname_id is mandatory. it is this machine
          //hostname_id: "test",
          // both ipv4 and ipv6 are supported
          //from: "127.0.0.1:1234",
          //from: "[::1]:1234",
          //to: "127.0.0.1:1234",
          //to: "[::1]:1234",
        //),
        //tcp: (
          // hostname_id is mandatory. it is this machine
          //hostname_id: "test",
          // both ipv4 and ipv6 are supported
          //from: "127.0.0.1:1234",
          //from: "[::1]:1234",
          //to: "127.0.0.1:1234",
          //to: "[::1]:1234",
        //),
      //),
    //),
  },
)