We recorded some thoughts on logging at the quartz sprint

James Tunnicliffe james.tunnicliffe at canonical.com
Tue Jun 28 11:11:54 UTC 2016


I believe this is supposed to be analogy, not implementation on the
i/o stream front.

On 28 June 2016 at 12:09, William Reade <william.reade at canonical.com> wrote:
> I'm not sure we should be sending any logging on stdout -- isn't that for
> *results*, for consumption by other machines?
>
> On Tue, Jun 28, 2016 at 11:52 AM, Reed O'Brien <reed.obrien at canonical.com>
> wrote:
>>
>> Relevant to the conversation currently happening at the core sprint, we
>> recorded some thoughts on what to log at what level, when and where.
>> Thoughts and examples appreciated.
>>
>>
>> +-------+-----------+-----------------------------------+---------+------------+
>> | Level | Audience  | Purpose                           | Example | I/O
>> Stream |
>>
>> +-------+-----------+-----------------------------------+---------+------------+
>> | ERROR | End User  | Conveys information that requires |         |
>> |
>> |       |           | immediate action. Triggers call   |         |
>> STDERR   |
>> |       |           | tree/pager duty.                  |         |
>> |
>>
>> +-------+-----------+-----------------------------------+---------+------------+
>> | WARN  | End User  | Conveys information that requires |         |
>> |
>> |       |           | user intervention soon to ensure  |         |
>> STDERR   |
>> |       |           | continuos smooth operation.       |         |
>> |
>>
>> +-------+-----------+-----------------------------------+---------+------------+
>> | INFO  | End User  | Conveys contextual "happy path"   |         |
>> |
>> |       |           | information about startup.        |         |
>> STDOUT   |
>>
>> +-------+-----------+-----------------------------------+---------+------------+
>> | DEBUG | Developer | Conveys detailed function level   |         |
>> |
>> |       |           | information to aid in isolating   |         |
>> STDOUT   |
>> |       |           | code paths during devleopement.   |         |
>> |
>>
>> +-------+-----------+-----------------------------------+---------+------------+
>> | TRACE | Developer | Conveys detailed branch level     |         |
>> |
>> |       |           | information to aid in isolating   |         |
>> STDOUT   |
>> |       |           | code paths during development.    |         |
>> |
>>
>> +-------+-----------+-----------------------------------+---------+------------+
>>
>> --
>> Reed O'Brien
>>reed.obrien at canonical.com
>> ✆ 415-562-6797
>>
>> --
>> Juju-dev mailing list
>> Juju-dev at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/juju-dev
>>
>
>
> --
> Juju-dev mailing list
> Juju-dev at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju-dev
>



More information about the Juju-dev mailing list