{
  "version": 1,
  "disable_existing_loggers": false,
  "formatters": {
    "default": {
      "format": "%(asctime)s level=[%(levelname)s] logger=[%(name)s] thread=[%(threadName)s] message=[%(message)s] exception=[%(exc_info)s]"
    }
  },
  "handlers": {
    "file": {
      "class": "logging.handlers.RotatingFileHandler",
      "formatter": "default",
      "maxBytes": 1000000,
      "filename": "logs/login-api.log"
    },
    "console": {
      "class": "logging.StreamHandler",
      "formatter": "default",
      "stream": "ext://sys.stdout"
    }
  },
  "loggers": {
    "service": {
    }
  },
  "root": {
    "level": "INFO",
    "handlers": [
      "file",
      "console"
    ]
  }
}


{
  "version": 1,
  "disable_existing_loggers": false,
  "formatters": {
    "default": {
      "format": "%(asctime)s level=[%(levelname)s] logger=[%(name)s] thread=[%(threadName)s] message=[%(message)s] exception=[%(exc_info)s]"
    }
  },
  "handlers": {
    "file": {
      "class": "logging.handlers.RotatingFileHandler",
      "formatter": "default",
      "maxBytes": 1000000,
      "filename": "/var/log/applications/login-api.log"
    },
    "console": {
      "class": "logging.StreamHandler",
      "formatter": "default",
      "stream": "ext://sys.stdout"
    }
  },
  "loggers": {
    "service": {
    }
  },
  "root": {
    "level": "INFO",
    "handlers": [
      "file",
      "console"
    ]
  }
}

Move default log location to /var/log
Move default log location to /var/log
