|
@@ -10554,7 +10554,7 @@ void* GetDiagnosticsProcess(void* data)
|
|
|
do
|
|
|
{
|
|
|
sprintf(cmdBuf, "%s /Storage/SystemLog/*%04d*%02d*", cmdBuf, targetYear, targetMonth);
|
|
|
- sprintf(cmdBuf, "%s /Storage/OCPP/*%04d*%02d*SystemLog", cmdBuf, targetYear, targetMonth);
|
|
|
+ sprintf(cmdBuf, "%s /Storage/OCPP/*%04d*%02d*SystemLog*", cmdBuf, targetYear, targetMonth);
|
|
|
|
|
|
if(targetMonth+1>=13)
|
|
|
{
|
|
@@ -10581,7 +10581,7 @@ void* GetDiagnosticsProcess(void* data)
|
|
|
do
|
|
|
{
|
|
|
sprintf(cmdBuf, "%s /Storage/EventLog/*%04d*%02d*", cmdBuf, targetYear, targetMonth);
|
|
|
- sprintf(cmdBuf, "%s /Storage/OCPP/*%04d*%02d*OcppMessageLog", cmdBuf, targetYear, targetMonth);
|
|
|
+ sprintf(cmdBuf, "%s /Storage/OCPP/*%04d*%02d*OcppMessageLog*", cmdBuf, targetYear, targetMonth);
|
|
|
if(targetMonth+1>=13)
|
|
|
{
|
|
|
targetYear += 1;
|