-
Sub-task
-
Resolution: Done
-
Medium
-
None
-
None
-
Policy Beijing 2 - 01-24, Policy Beijing 3 - 2-13, Policy Beijing 4 - 3-14, Policy Beijing RC0
brmsgw has multiple location of log files.
$POLICY_HOME/logs/
$POLICY_HOME/servers/brmsgw/logs/Policy/PolicyEngineAPI
Detailed log locations:
./logs/brmsgw.log
./servers/brmsgw/logs/Policy/PolicyEngineAPI/metrics.log
./servers/brmsgw/logs/Policy/PolicyEngineAPI/error.log
./servers/brmsgw/logs/Policy/PolicyEngineAPI/audit.log
./servers/brmsgw/logs/Policy/PolicyEngineAPI/debug.log
======
Log locations should be configurable. Logging guidelines suggest this default, and as such should be the default.
/var/log/ONAP/<component>[/<subcomponent>]/*.log
Traditionally policy locations have been storing under the $POLICY_HOME/logs (non-privileged account where $POLICY_HOME contains all policy code) should be supported as well, hence the need of this parameter to be configurable to place location under
$POLICY_HOME/logs/<component>[/<subcomponent>]/*.log
component should be policy
subcomponent should be brmsgw
- clones
-
POLICY-563 pdp: L1 log files consolidation
- Closed