Topic: Start console after application
Hi,
If I start SmartInspect console after I have started my application, there are not any log information in console. On the contrary, it works ok. What can I do to correct this?
Thanks.
You are not logged in. Please login or register.
Hi,
If I start SmartInspect console after I have started my application, there are not any log information in console. On the contrary, it works ok. What can I do to correct this?
Thanks.
Hello,
Please add the 'reconnect' protocol option to your connection string. In case you are using TCP:
'tcp(reconnect=true)'And for named pipes:
'pipe(reconnect=true)'We also recommend using the 'reconnect.interval' option (e.g., 'reconnect.interval=10s'), so that the connection does not try to reconnect for each message. We further recommend enabling asynchronous logging when using TCP because a TCP connection attempt can be quite slow and therefore block the application:
'tcp(reconnect=true, reconnect.interval=10s, async.enabled=true)'Regards,
Tobias
Thanks, it has helped.