... | ... | @@ -1971,7 +1971,30 @@ Note: With the next version of CII, the logger name will be included in log mess |
|
|
log4cplus.appender.STDOUT.layout=log4cplus::PatternLayout
|
|
|
log4cplus.appender.STDOUT.layout.ConversionPattern=[%-5p][%D{%Y/%m/%d %H:%M:%S:%q}][%-l][%t] %m%n
|
|
|
```
|
|
|
---
|
|
|
|
|
|
---
|
|
|
|
|
|
---
|
|
|
|
|
|
### wscript packages for CII Log \[Log\]
|
|
|
|
|
|
**Problem**
|
|
|
|
|
|
I want to write an cxx application using CII Log and no other CII services, nor CII MAL. Which packages do I need in my wscript?
|
|
|
|
|
|
**Solution**
|
|
|
|
|
|
1) included this in the uses clause in the cxx program folder:
|
|
|
```plaintext
|
|
|
client-api.elt-common.cpp.log
|
|
|
```
|
|
|
|
|
|
2) and put this into the higher-level project or package wscript:
|
|
|
```plaintext
|
|
|
def configure(cnf):
|
|
|
cnf.check_wdep(wdep_name="client-api.elt-common.cpp.log", uselib_store="client-api.elt-common.cpp.log")
|
|
|
```
|
|
|
### ------------------------------------------------------
|
|
|
|
|
|
### \[Lang\]
|
... | ... | |