| 56 | | TODO - logger arguments |
| | 58 | To change the default reporting level, simply add its name (e. g. `fatal` or `debug2`) after the `logger` module load in the GRUB. |
| | 59 | |
| | 60 | '''Example (making default reporting level less verbose)''': append the word `warn` to the logger module line once the GRUB menu appears (use `e` to enter the edit mode). |
| | 61 | {{{ |
| | 62 | #!html |
| | 63 | <div class="code"><pre>module /boot/logger /boot/logger <b>warn</b></pre></div> |
| | 64 | }}} |
| | 65 | Then use `F10` to boot HelenOS. |
| | 66 | |
| | 67 | It is also possible to change reporting level of an individual log. Simply write the log name and append to it the desired level. This can be repeated for more logs. |
| | 68 | |
| | 69 | '''Example (making tester very verbose)''': change the logger line to the following. |
| | 70 | {{{ |
| | 71 | #!html |
| | 72 | <div class="code"><pre>module /boot/logger /boot/logger <b>tester=debug2</b></pre></div> |
| | 73 | }}} |
| | 74 | |
| | 75 | Both possibilities can be combined. For example, it is possible to set the default reporting level to errors only and only make several (problematic) drivers more verbose. |
| | 76 | |