Skip to Content.
Sympa Menu

comanage-dev - [comanage-dev] Fwd: Campus Success component logging requirements

Subject: COmanage Developers List

List archive

[comanage-dev] Fwd: Campus Success component logging requirements


Chronological Thread 
  • From: Scott Koranda <>
  • To:
  • Subject: [comanage-dev] Fwd: Campus Success component logging requirements
  • Date: Mon, 19 Feb 2018 16:20:34 -0600
  • Ironport-phdr: 9a23:sVA9JRJsL6PU59p2o9mcpTZWNBhigK39O0sv0rFitYgeKPnxwZ3uMQTl6Ol3ixeRBMOHs6kC07KempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgppPOT1HZPZg9iq2+yo9JDffwtFiCChbb9uMR67sRjfus4KjIV4N60/0AHJonxGe+RXwWNnO1eelAvi68mz4ZBu7T1et+ou+MBcX6r6eb84TaFDAzQ9L281/szrugLdQgaJ+3ART38ZkhtMAwjC8RH6QpL8uTb0u+ZhxCWXO9D9QLYpUjqg8qhrUgfliDwJOTA57m/Zl89+g61Hrx28qRNy2JLUbJ2POfZiYq/QZ80WSGxcVchRTSxBBYa8YpMSAeUdOuZYs5X9rEYLoxu5HwmjHuXvxSJSiXTr2qA6yOchEQbc3AM6GdIBrW7boc7uNKcKUeC60rPIzTTfYPxM3Tfy9I/Icx4uofGWWrJwbNLRxVMzGAPCi1WdsIroNC6W2OQVq2WX8ettWf6thmMipQF8oSOgytsph4TGmo4Z1k3I+CBlz4opPtK1TUt2bcC6HJROry2WKoV7T8I4T211uSs3yKcKtJC6cSQQ1pgr2RzSZvqaeIaS+B3jTvyeITJgiXJlZr2/gxGy/FClyuLmV8m01E9GritZktXQr3wM2ALf5taZRfdn8Ueh3jGP1w/X6u5aO0w7ia3bK5s5zr4xkJocr1jDEzfolEj3kKObdEAp+uar5uv8frnro5CRO5Nohg3jN6khhtCzDv89PwULQWSX5/qz2KXm/ULjQbVKivM2krPesJDfPckbva25AwhP0ok57RawEi2p3c8XnXkCNl1FeRaHg5L1NFHJJfD0Fe2/jEi0kDd32/DGOaXsDYnKLnjGirjhe6xy60FCxwYq0N9Q+YxUB6oFIPLyQU/xqMfYAgEjPwy1xebnFMty1pkYWW2RHq+VLrnevkGV6eIycKGwY9oevzP0LfEq6rvigGERmFkBcLOv0IdNLn20A6dIOUKcNEHnhcsdWUQNpAM4QOWi3EaBViRaYXq7d7kk5jwhCYmvCYzEWY+3h6GZmiy8G8sFNSh9FlmQHCKwJM2/UPAWZXfKLw==

FYI...

----- Forwarded message from Scott Koranda
<>
-----

Date: Mon, 19 Feb 2018 16:16:53 -0600
From: Scott Koranda
<>
To:

Subject: Campus Success component logging requirements

Hi,

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 have some followup questions:

1) What are the official ComponentName values? Is it just simply

COmanage Registry
Grouper
Shibboleth IdP

?

2) Can you remind me why a dot in the LogfileName is to be replaced by a
'-'?

3) Is the value for Env intended to be injected into the container at
run time? If so, is there a standard we want to use for how that is
done?

For example, for COmanage I would probably define an environment
variable to be injected at run time

COMANAGE_REGISTRY_RUNTIME_ENVIRONMENT

so for example in a Docker compose file I would have

- COMANAGE_REGISTRY_RUNTIME_ENVIRONMENT=Test

I would probably have that defined by default in the image as 'Prod',
and I would probably also make it so that it can be injected at build
time. Is that a reasonable approach?

4) Is there any guidance on how the UserDefinedEnvironmentVar is to be
set?

I can imagine for COmanage Registry again having an environment variable
to be injected at container start up like

COMANAGE_REGISTRY_DEPLOYER_ENV_VAR_VALUE

so the Docker compose file might have

- COMANAGE_REGISTRY_DEPLOYER_ENV_VAR_VALUE=foo_bar

which would cause the value 'foo_bar' to show up in log lines for the
field UserDefinedEnvironmentVar.

Is that the approach that was envisioned?

5) I would like to work from an example. Consider the COmanage Registry
'error.log' file. If COmanage Registry was just deployed "by hand" then
a typical line in the file might be

ERROR: OrgIdentitySource 3 : No route to host

Is this then a valid example of how that same line would appear in the
Docker logs emitted by the container:

COmanage Registry error-log Prod foo_bar ERROR: OrgIdentitySource 3 : No
route to host

?

Thanks,

Scott K

----- End forwarded message -----


  • [comanage-dev] Fwd: Campus Success component logging requirements, Scott Koranda, 02/19/2018

Archive powered by MHonArc 2.6.19.

Top of Page