kopia lustrzana https://github.com/weetmuts/wmbusmeters
Update CHANGES.
rodzic
c4e3c4888c
commit
d66cfeebc3
5
CHANGES
5
CHANGES
|
@ -7,6 +7,11 @@ in the logs if no driver could be found.
|
||||||
If you do not specify a type= in the meter config file,
|
If you do not specify a type= in the meter config file,
|
||||||
then it will default to auto.
|
then it will default to auto.
|
||||||
|
|
||||||
|
Added --logtimestamps=important/never/always to prefix
|
||||||
|
a logged line in the log file or stderr output with a timestamp.
|
||||||
|
Important means timestamp warnings and device changes.
|
||||||
|
Daemon mode defaults to important.
|
||||||
|
|
||||||
Version 1.2.0: 2021-03-07
|
Version 1.2.0: 2021-03-07
|
||||||
|
|
||||||
IMPORTANT CHANGES THAT MIGHT AFFECT YOU!vvvvvvvvvvvvvvvvvvvvvv
|
IMPORTANT CHANGES THAT MIGHT AFFECT YOU!vvvvvvvvvvvvvvvvvvvvvv
|
||||||
|
|
|
@ -363,6 +363,11 @@ bool start(Configuration *config)
|
||||||
verboseEnabled(config->verbose);
|
verboseEnabled(config->verbose);
|
||||||
logTelegramsEnabled(config->logtelegrams);
|
logTelegramsEnabled(config->logtelegrams);
|
||||||
debugEnabled(config->debug);
|
debugEnabled(config->debug);
|
||||||
|
if (config->addtimestamps == AddLogTimestamps::NotSet)
|
||||||
|
{
|
||||||
|
// Default to important log timestamps when starting a daemon.
|
||||||
|
if (config->daemon) config->addtimestamps = AddLogTimestamps::Important;
|
||||||
|
}
|
||||||
setLogTimestamps(config->addtimestamps);
|
setLogTimestamps(config->addtimestamps);
|
||||||
internalTestingEnabled(config->internaltesting);
|
internalTestingEnabled(config->internaltesting);
|
||||||
traceEnabled(config->trace);
|
traceEnabled(config->trace);
|
||||||
|
|
|
@ -82,7 +82,7 @@ void traceEnabled(bool b);
|
||||||
|
|
||||||
enum class AddLogTimestamps
|
enum class AddLogTimestamps
|
||||||
{
|
{
|
||||||
Never, Always, Important
|
NotSet, Never, Always, Important
|
||||||
};
|
};
|
||||||
|
|
||||||
void setLogTimestamps(AddLogTimestamps ts);
|
void setLogTimestamps(AddLogTimestamps ts);
|
||||||
|
|
|
@ -45,7 +45,7 @@ mqtt_publish) sent to a REST API (eg curl) or store it in a database
|
||||||
|
|
||||||
\fB\--listento=\fR<mode>,<mode> listen to more than one link mode at the same time, assuming the dongle supports it.
|
\fB\--listento=\fR<mode>,<mode> listen to more than one link mode at the same time, assuming the dongle supports it.
|
||||||
|
|
||||||
\fB\--logtimestamps=\fR<when> add timestamps to log entries: never always important.
|
\fB\--logtimestamps=\fR<when> add timestamps to log entries: never/always/important.
|
||||||
|
|
||||||
\fB\--c1 --t1 --s1 --s1m --n1a ... --n1f\fR listen to c1,t1,s1,s1m,n1a-n1f telegrams.
|
\fB\--c1 --t1 --s1 --s1m --n1a ... --n1f\fR listen to c1,t1,s1,s1m,n1a-n1f telegrams.
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue