comanage-dev - [comanage-dev] Fwd: Re: Campus Success component logging requirements
Subject: COmanage Developers List
List archive
- From: Scott Koranda <>
- To:
- Subject: [comanage-dev] Fwd: Re: Campus Success component logging requirements
- Date: Mon, 19 Feb 2018 16:50:27 -0600
- Ironport-phdr: 9a23:44NIvxdTobEAy/SkKAFlEdT0lGMj4u6mDksu8pMizoh2WeGdxcS8Zx7h7PlgxGXEQZ/co6odzbaO6Oa4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTahb75+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v6bpgRh31hycdLzM562/ZhMxugqxGoxyuqABwzJPab4yOKPpyYrnQcc8GSWdbQMpcUTFKDIOmb4sICuoMJftWoJX6p1sSsRu1GAyiBOT1yjBSgH/5wLc12PkmHAHd3wwgGMgOv27SrNroLqgfSvu1zLHIzTrddfNW2Cvy55LMch89pvGNU71wcdDWyUkyDwPJlEmfqYvgPz6M0OkGrmaV7+1lVe21im4nrRl8rSWoxsgwiYnGmJgVxkrY+iV+xYY4I8CzRk1jYdO8Dpddtj2WOolzT8MsQGxnozo2x7gJtJKnYCQG1ZEqyALDZ/GGdoWF5wzvWPiLLjtgmX5odrOyiwyv/UWhyODwTMe53VdQoiZbjNXBtHYA3AHJ5MedUPty5EKh1C6P1w/N7uFEJlg5la/BJJ4gxr48j5sTsUPfEiPvl0T6krGaeV8+9uin7OTnZbrmppuCOINulg7+NaEultS+AeQ+LAcOQ3CW9fq92bH//0D0RbtKg/4tnaXFtZ3XKtgXqrKkDwJQzokv9xeyAjKj3dgGg3UINkpJeBedgIjoP1HOLur4DfC6g1m0izdrxPfGPqf7DZXLM3fMiqzsfbl460FGyQozycpT6I5TCrEEOP7zQFP+tMTEDh8lNAy52/roCNJ41owEX2KAGKCZP73LvVCV+O0vPfKBZIsUuDbmN/gl/ODigWU4mV8bYammw4EXaHamEfR6PUmVe2TjjcocETRCgg1rR+vvgVuLXjMWa3usd6M6+jwhDo+6V8HOSp3+rqaG2XKAFZpKeihlDUqFF3vhP9GfWPAWYSSeK+d6ijwJT7mqQosq0g6hrgjn0/xsKe+CqX5Qjo7qyNUgv76brho17zEhV8k=
A followup thought...
----- Forwarded message from Scott Koranda
<>
-----
Date: Mon, 19 Feb 2018 16:48:21 -0600
From: Scott Koranda
<>
To:
Subject: Re: Campus Success component logging requirements
> Regarding the component logging requirements coming out of the TIER
> Campus Success Meeting...
>
> On last week's call we learned that the desired format is
>
> ComponentName, LogfileName, Env, UserDefinedEnvironmentVar
>
> where Env is one of Prod, Dev, or Test and any dot in a LogfileName
> should be replaced by a '-'.
I am also wondering...
The command 'docker run' supports the option
--log-opt tag="<almost anything>"
See
https://docs.docker.com/config/containers/logging/log_tags/
The option is also suppored in Docker compose files. See
https://docs.docker.com/compose/compose-file/#logging
Is the right approach then to just tell deployers to use those options
and tag their container log files as they see fit?
We will have a few containers where there is more than one process
logging, like for COmanage where we have Apache HTTP Server,
Supervisord, Shibboleth SP, and COmanage Registry itself, so it might
make sense to make sure those log lines are appropriately prefixed in
some way, but shouldn't things like 'Env' or 'UserDefinedEnvVariable'
just be set by the deployer for the container using the mechanism above?
Thanks,
Scott K
----- End forwarded message -----
- [comanage-dev] Fwd: Re: Campus Success component logging requirements, Scott Koranda, 02/19/2018
Archive powered by MHonArc 2.6.19.