File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ class PluginHttpLoggerConfiguration extends PluginConfiguration implements Plugi
2424 public const CFG_LOGGER_ERROR = 'MICRO_HTTP_LOGGER_ERROR ' ;
2525 public const CFG_DECORATION_WEIGHT = 'MICRO_HTTP_LOGGER_DECORATION_WEIGHT ' ;
2626
27- public const CFG_HTTP_LOGGER_ACCESS_FORMAT = '' ;
28- public const CFG_HTTP_LOGGER_ERROR_FORMAT = '' ;
29- public const LOGGER_ERROR_FORMAT_DEFAULT = '' ;
30- public const LOGGER_ACCESS_FORMAT_DEFAULT = '' ;
27+ public const CFG_HTTP_LOGGER_ACCESS_FORMAT = 'MICRO_HTTP_LOGGER_ACCESS_FORMAT ' ;
28+ public const CFG_HTTP_LOGGER_ERROR_FORMAT = 'MICRO_HTTP_LOGGER_ERROR_FORMAT ' ;
29+ public const LOGGER_ERROR_FORMAT_DEFAULT = '{{remote_addr}} - {{remote_user}} [{{time}}] "{{request}}" {{status}} ' ;
30+ public const LOGGER_ACCESS_FORMAT_DEFAULT = '{{remote_addr}} - {{remote_user}} [{{time}}] "{{request}}" {{status}} {{http_referer}} {{http_user_agent}} ' ;
3131
3232 public const DECORATION_DEFAULT = 10 ;
3333
You can’t perform that action at this time.
0 commit comments