# Preparations
# in Web Browser:
* login to Admin Console
* go to {nav Logs & Reports > System Log} section
# in IDE:
* add these lines to the beginning of the `kUnitConfigReader::scanModules` method:
```
lang=php
trigger_error('regular notice', E_USER_NOTICE);
kUtil::deprecatedMethod(__METHOD__, 'V1');
kUtil::deprecatedMethod(__METHOD__, 'V2', 'newMethod()');
kUtil::deprecatedArgument(__METHOD__, 'V3');
kUtil::deprecatedArgument(__METHOD__, 'V3', 'The "$cache" argument is deprecated.');
```
# Part 1
# enable Debug Mode in `/system/debug.php` file
# confirm, that:
* regular notice appear in both `Debugger` and `System Log` and have these messages:
* `regular notice`
* notice has `Notice (#...)` red text displayed in front of the message in `Debugger` (the `...` can be any number)
* deprecation notices appear in both `Debugger` and `System Log` and have these messages:
* `kUnitConfigReader::scanModules is deprecated since version V1 with no alternative available.`
* `kUnitConfigReader::scanModules is deprecated since version V2! Use newMethod() instead.`
* `kUnitConfigReader::scanModules was called with an argument that is deprecated since version V3 with no alternative available.`
* `kUnitConfigReader::scanModules was called with an argument that is deprecated since version V3! The "$cache" argument is deprecated.`
* the `deprecated` word in each error message is written in bold (in both `Debugger` and `System Log`)
* deprecation notices have `Deprecation Notice (#...)` red text displayed in front of the message in `Debugger` (the `...` can be any number)
# set `error` in `Show` dropdown on top of the `Debugger` report
# confirm, that only records with `Notice` and `Debugger Notice` red prefixes are displayed
# Part 2
# disable Debug Mode in `/system/debug.php` file
# reload the page
# confirm, that only `regular notice` notice is logged in into `System Log`