Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 774 Bytes

File metadata and controls

31 lines (25 loc) · 774 Bytes
date 2000-01-01 00:00:00 +0000
title Logging
author bradrydzewski
weight 21
aliases
/installation/logging/
/administration/server/logging
description Configure server logging.

The server logs are written to stderr and are captured by the Docker daemon. You can access the server logs by running the following Docker command:

$ docker logs <container name>

The default log level is INFO. You can enable more detailed debug logging with the following configuration parameter:

DRONE_LOGS_DEBUG=true

Logs are written to stderr in json-format. You can change the default log format to something more human-readable with the following configuration parameters:

DRONE_LOGS_TEXT=true
DRONE_LOGS_PRETTY=true
DRONE_LOGS_COLOR=true