Update Birdnet Snipper to insert out new setting options
Update Birdnet Snipper to insert out new setting options Update log level descriptions.
This commit is contained in:
@@ -560,7 +560,7 @@ foreach($formats as $format){
|
|||||||
<td>
|
<td>
|
||||||
<h2>Logging</h2>
|
<h2>Logging</h2>
|
||||||
<div class="callout callout-warning">
|
<div class="callout callout-warning">
|
||||||
<h4>Note:</h4>
|
<b>Note:</b>
|
||||||
It is recommended that the Log Level be set to <b>Error</b> on production systems to keep output
|
It is recommended that the Log Level be set to <b>Error</b> on production systems to keep output
|
||||||
manageable by only reporting errors.
|
manageable by only reporting errors.
|
||||||
<br>
|
<br>
|
||||||
@@ -627,8 +627,8 @@ foreach($formats as $format){
|
|||||||
<small>
|
<small>
|
||||||
<b>'error'</b> - Show all errors, including ones which can be recovered from. This is the default value.<br>
|
<b>'error'</b> - Show all errors, including ones which can be recovered from. This is the default value.<br>
|
||||||
<b>'warning'</b> - Show all warnings and errors. Any message related to possibly incorrect or unexpected events will be shown.<br>
|
<b>'warning'</b> - Show all warnings and errors. Any message related to possibly incorrect or unexpected events will be shown.<br>
|
||||||
<b>'info'</b> - Show informative messages and output during processing. This is in addition to warnings and errors. <br>
|
<b>'info'</b> - Show informative messages and output during processing. This is in addition to warnings and errors. This will produce more output, use this for initial debugging.<br>
|
||||||
<b>'debug'</b> - Show everything, including debugging information.<br>
|
<b>'debug'</b> - Show everything, including debugging information. Produces a lot of output.<br>
|
||||||
</small>
|
</small>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -191,6 +191,18 @@ if ! grep RTSP_STREAM_TO_LIVESTREAM /etc/birdnet/birdnet.conf &>/dev/null;then
|
|||||||
sudo -u$USER echo "RTSP_STREAM_TO_LIVESTREAM=\"0\"" >> /etc/birdnet/birdnet.conf
|
sudo -u$USER echo "RTSP_STREAM_TO_LIVESTREAM=\"0\"" >> /etc/birdnet/birdnet.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# For new Advanced Setting Logging level options,
|
||||||
|
if ! grep LogLevel_BirdnetRecordingService /etc/birdnet/birdnet.conf &>/dev/null;then
|
||||||
|
sudo -u$USER echo "LogLevel_BirdnetRecordingService=\"error\"" >> /etc/birdnet/birdnet.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! grep LogLevel_LiveAudioStreamService /etc/birdnet/birdnet.conf &>/dev/null;then
|
||||||
|
sudo -u$USER echo "LogLevel_LiveAudioStreamService=\"error\"" >> /etc/birdnet/birdnet.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! grep LogLevel_SpectrogramViewerService /etc/birdnet/birdnet.conf &>/dev/null;then
|
||||||
|
sudo -u$USER echo "LogLevel_SpectrogramViewerService=\"error\"" >> /etc/birdnet/birdnet.conf
|
||||||
|
fi
|
||||||
|
|
||||||
sudo systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
restart_services.sh
|
restart_services.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user