Change outage logs to be nicely.

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
tomoaki
2020-02-21 18:49:58 +09:00
parent 1b6e6faab5
commit f57d391b16
6 changed files with 6 additions and 6 deletions

View File

@@ -64,7 +64,7 @@ void BrokerRecvTask::run(void)
_light->blueLight(false);
if (CHK_SIGINT)
{
WRITELOG("%s BrokerRecvTask stopped.\n", currentDateTime());
WRITELOG("\n%s BrokerRecvTask stopped.", currentDateTime());
return;
}
timeout.tv_sec = 0;

View File

@@ -70,7 +70,7 @@ void BrokerSendTask::run()
if ( ev->getEventType() == EtStop )
{
WRITELOG("%s BrokerSendTask stopped.\n", currentDateTime());
WRITELOG("\n%s BrokerSendTask stopped.", currentDateTime());
delete ev;
return;
}

View File

@@ -77,7 +77,7 @@ void ClientRecvTask::run()
if (CHK_SIGINT)
{
WRITELOG("%s ClientRecvTask stopped.\n", currentDateTime());
WRITELOG("\n%s ClientRecvTask stopped.", currentDateTime());
delete packet;
return;
}

View File

@@ -51,7 +51,7 @@ void ClientSendTask::run()
if (ev->getEventType() == EtStop)
{
WRITELOG("%s ClientSendTask stopped.\n", currentDateTime());
WRITELOG("\n%s ClientSendTask stopped.", currentDateTime());
delete ev;
break;
}

View File

@@ -113,7 +113,7 @@ void PacketHandleTask::run()
if (ev->getEventType() == EtStop)
{
WRITELOG("%s PacketHandleTask stopped.\n", currentDateTime());
WRITELOG("\n%s PacketHandleTask stopped.", currentDateTime());
delete ev;
return;
}

View File

@@ -294,7 +294,7 @@ void Gateway::run(void)
/* wait until all Task stop */
MultiTaskProcess::waitStop();
WRITELOG("\n%s MQTT-SN Gateway stoped\n\n", currentDateTime());
WRITELOG("\n\n%s MQTT-SN Gateway stopped.\n\n", currentDateTime());
_lightIndicator.allLightOff();
}