# internal: Collect internal messages

All messages generated internally by AxoSyslog use the `internal()` source. To collect warnings, errors and notices from AxoSyslog itself, include this source in one of your source statements. The AxoSyslog application issues a warning upon startup if none of the defined log paths reference this driver.
```
 
    internal()
    
```

The AxoSyslog application sends the following message types from the `internal()` source:

  * _fatal_ : Priority value: critical (2), Facility value: syslog (5)
  * _error_ : Priority value: error (3), Facility value: syslog (5)
  * _warning_ : Priority value: warning (4), Facility value: syslog (5)
  * _notice_ : Priority value: notice (5), Facility value: syslog (5)
  * _info_ : Priority value: info (6), Facility value: syslog (5)



## Example: Using the internal() driver
```
    source s_local { internal(); };
    log { source(s_internal); destination(d_file); };
    
```

* * *

[internal() source options](../../docs/axosyslog-core/chapter-sources/configuring-sources-internal/reference-source-internal/index.md)

Last modified April 8, 2026: [Formatting fixes (c1457e24)](<https://github.com/axoflow/axosyslog-core-docs/commit/c1457e245d5d7abb2b7f131f9b4ff5b7e57a57d2>)