With plain CII (no application frameworks on top), you define a log config file (myapp.logconfig):
**With plain CII (no application framework on top)**
Define a log config file (myapp.logconfig):
```plaintext
log4cplus.rootLogger=INFO, STDOUT
...
...
@@ -2053,12 +2055,17 @@ int main(int ac, char *av[]) {
}
```
If you have an application that configures logging anyway (e.g. a RAD application), you can add the logger config directly to your existing log config file.
**With a framework on top (e.g. RAD)**
If you have an application that configures logging anyway (e.g. a RAD
application), you can add the logger config directly to your existing log config file.
```plaintext
log4cplus.logger.cii.mal=FATAL
```
Side-note: To configure the logging fully programmatically, without a file, you would do:
**Programmatic (not using a log config file)**
cpp: To configure the logging fully programmatically, without a file, you would do: