2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

93_DbLog: minor change of Log entry

git-svn-id: https://svn.fhem.de/fhem/trunk@18787 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2019-03-04 17:43:22 +00:00
parent 8514614f31
commit 230a6d7fec
2 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it.
- changed: 93_DbLog: minor change of Log entry
- changed: 70_Pushover: attribute 'storage' was renamed to 'storagePath'
and is now visible in FHEMWEB
- changed: 98_weekprofile: use topic name from reading 'active_topic'

View File

@ -15,6 +15,7 @@
############################################################################################################################################
# Versions History done by DS_Starter:
#
# 3.13.3 04.03.2019 addLog better Log3 Outputs
# 3.13.2 09.02.2019 Commandref revised
# 3.13.1 27.11.2018 DbLog_ExecSQL log output changed
# 3.13.0 12.11.2018 adding attributes traceFlag, traceLevel
@ -3689,12 +3690,12 @@ sub DbLog_AddLog($$$$$) {
if(!$found) {
if(goodReadingName($rdspec) && defined($value)) {
Log3 $name, 3, "DbLog $name -> Reading '$rdspec' of device '$dev_name' not found - add it as new reading.";
Log3 $name, 3, "DbLog $name -> addLog WARNING - Device: '$dev_name' -> Reading '$rdspec' not found - add it as new reading.";
push @exrds,$rdspec;
} elsif (goodReadingName($rdspec) && !defined($value)) {
Log3 $name, 2, "DbLog $name -> WARNING - new Reading '$rdspec' has no value - can't add it !";
Log3 $name, 2, "DbLog $name -> addLog WARNING - Device: '$dev_name' -> new Reading '$rdspec' has no value - can't add it !";
} else {
Log3 $name, 2, "DbLog $name -> WARNING - Readingname '$rdspec' is no valid or regexp - can't add regexp as new reading !";
Log3 $name, 2, "DbLog $name -> addLog WARNING - Device: '$dev_name' -> Readingname '$rdspec' is no valid or regexp - can't add regexp as new reading !";
}
}