-
Notifications
You must be signed in to change notification settings - Fork 22
Configuration(Repository)_Logging
linzhixing edited this page Jul 6, 2016
·
5 revisions
English/日本語
After 2.4 onward, default logger outputs JSON format logs, especially with some CMIS specific tweaks.
Configuration file is here.
- The file has the two parts: global and method.
- global works as the default value and its configuration are inherited to each method and fill the missing field.
- Even when an individual method configuration does not exist, global configuration will be used so that in almost all cases method specific configuration will not be required.
For example,
"jp.aegif.nemaki.cmis.service.ObjectService.getObjectByPath":{
"input":{
"path":{"type":"simple"}
}
},
has neither setting nor output field, but they are using global default values.
And you will find some CMIS method names are not on the file!
- uuid: boolean log record's UUID
- name: enum('simple' or 'full') method name.
- time: boolean process time
- logTime: boolean process time (including logging itself)
-
:
argument name is defined with jp.aegif.nemaki.util.spring.aspect.log.LogParam annotation.
For CMIS service methods, the names are based on the CMIS specification.
- type: enum('simple' or 'full') At present only 'simple' is supported. 'full' outputs toString().
- properties: {: boolean, ...} format
-
list:
- num: boolean display the number of list items
- item: boolean display the items itself