3
Unify log locations for SmarterMail
Problem reported by Ionel Aurelian Rau - 4/23/2019 at 4:35 AM
Submitted
Hello!

We`ve noticed the following issue: although you can set the "Log Path" under the Troubleshooting -> Log Files area, this is only set for some log files and not all of them. Namely, there are some log files under Drive:\Program Files (x86)\SmarterTools\SmarterMail\MRS\App_Data\Logs which are always saved there regardless of the "Log Path" we set. Only the logs that are originally under Drive:\SmarterMail\Logs will actually move to the location we set.

I think that it would be better to unify the logs and save them all in one place for multiple reasons:
  1. Logic: one should know that in a particular place can find all of the logs. Until we discovered that there are 2 locations, we were looking for some logs and could not find them because we looked in the wrong place.
  2. Space concerns: the SmarterTools folder under Program Files kept increasing in size during operation even though we did not upgrade for a month and the culprit are the logs which are saved there and cannot be moved to another location. Now that we know this, we have to manualy keep an eye on this and periodically move the logs to another location. By the way, we`ve set the XMPP logging to "Exceptions Only" but the "date-bosh-xmpp.log" files are huge (700MB - 900MB per day!) - is this normal?
  3. Disk performance: we store different types of data on different types of storage - in this case, we would like to store logs on cheaper storage than where we store the application or the mail data. We can do this for half the logs, but not for the ones under Program Files (x86)\SmarterTools\SmarterMail\MRS\App_Data\Logs

Hopefully the logs can be consolidated in a single location which can be set by the server administrator.
We`re running SmarterMail Enterprise Build 7040 (Apr 11, 2019)

6 Replies

Reply to Thread
1
Tony Scholz Replied
Employee Post
Hello, 

I have submitted this as a feature request for you, 

Thank you
Tony Scholz System/Network Administrator SmarterTools Inc. www.smartertools.com
0
Ionel Aurelian Rau Replied
Thank you Tony!

By the way, do you have any thoughts on this: "we`ve set the XMPP logging to "Exceptions Only" but the "date-bosh-xmpp.log" files are huge (700MB - 900MB per day!) - is this normal?"
0
Tony Scholz Replied
Employee Post
Hello, 

In the logs are you only seeing exceptions being thrown or is it showing the detailed communications between the agents? If they are all exceptions that this would be working as designed and the exceptions would need to be handled. If you are getting the detailed responses then we can take a look over your settings. Make sure the log is set to 'Exception  Only' in the config file and go from there. 

Thank you
Tony Scholz System/Network Administrator SmarterTools Inc. www.smartertools.com
0
Ionel Aurelian Rau Replied
Here`s an excerpt of the content:

00:00:10.140 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896485)
<body rid='2666908018' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'><presence xmlns='jabber:client'/></body>

00:00:10.140 [70fec195333249caa9651e447b4a4159] SERVICE ◄ BOSH - BROWSER
<presence xmlns="jabber:client" />

00:00:10.140 [70fec195333249caa9651e447b4a4159] SERVICE ► BOSH - BROWSER
<presence xmlns="jabber:client" from="user@OurDomain.com/Client_f3fd9c" to="user@OurDomain.com" />

00:00:10.249 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ► BROWSER (response 896484)
<body rid='2666908017' sid='70fec195333249caa9651e447b4a4159' xmlns='http://jabber.org/protocol/httpbind'><presence xmlns="jabber:client" from="user@OurDomain.com/Client_f3fd9c" to="user@OurDomain.com" /></body>

00:00:11.124 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896486)
<body rid='2666908019' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'/>

00:01:11.139 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896487)
<body rid='2666908020' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'/>

00:02:10.123 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896488)
<body rid='2666908021' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'><presence xmlns='jabber:client'/></body>

00:02:10.123 [70fec195333249caa9651e447b4a4159] SERVICE ◄ BOSH - BROWSER
<presence xmlns="jabber:client" />

00:02:10.123 [70fec195333249caa9651e447b4a4159] SERVICE ► BOSH - BROWSER
<presence xmlns="jabber:client" from="user@OurDomain.com/Client_f3fd9c" to="user@OurDomain.com" />

00:02:10.232 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ► BROWSER (response 896488)
<body rid='2666908021' sid='70fec195333249caa9651e447b4a4159' xmlns='http://jabber.org/protocol/httpbind'><presence xmlns="jabber:client" from="user@OurDomain.com/Client_f3fd9c" to="user@OurDomain.com" /></body>

00:02:11.138 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896489)
<body rid='2666908022' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'/>

00:03:11.138 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896490)
<body rid='2666908023' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'/>

00:04:10.137 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896491)
<body rid='2666908024' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'><presence xmlns='jabber:client'/></body>

00:04:10.137 [70fec195333249caa9651e447b4a4159] SERVICE ◄ BOSH - BROWSER
<presence xmlns="jabber:client" />

00:04:10.137 [70fec195333249caa9651e447b4a4159] SERVICE ► BOSH - BROWSER
<presence xmlns="jabber:client" from="user@OurDomain.com/Client_f3fd9c" to="user@OurDomain.com" />

00:04:10.247 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ► BROWSER (response 896491)
<body rid='2666908024' sid='70fec195333249caa9651e447b4a4159' xmlns='http://jabber.org/protocol/httpbind'><presence xmlns="jabber:client" from="user@OurDomain.com/Client_f3fd9c" to="user@OurDomain.com" /></body>

00:04:11.137 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896492)
<body rid='2666908025' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'/>

00:05:11.121 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896493)
<body rid='2666908026' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'/>

00:06:10.120 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896494)
<body rid='2666908027' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'><presence xmlns='jabber:client'/></body>

00:06:10.120 [70fec195333249caa9651e447b4a4159] SERVICE ◄ BOSH - BROWSER
<presence xmlns="jabber:client" />

00:06:10.136 [70fec195333249caa9651e447b4a4159] SERVICE ► BOSH - BROWSER
<presence xmlns="jabber:client" from="user@OurDomain.com/Client_f3fd9c" to="user@OurDomain.com" />

00:06:10.245 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ► BROWSER (response 896494)
<body rid='2666908027' sid='70fec195333249caa9651e447b4a4159' xmlns='http://jabber.org/protocol/httpbind'><presence xmlns="jabber:client" from="user@OurDomain.com/Client_f3fd9c" to="user@OurDomain.com" /></body>

00:06:11.120 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896495)
<body rid='2666908028' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'/>

00:07:11.135 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896496)
<body rid='2666908029' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'/>

00:08:11.119 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896497)
<body rid='2666908030' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'><presence xmlns='jabber:client'/></body>

00:08:11.119 [70fec195333249caa9651e447b4a4159] SERVICE ◄ BOSH - BROWSER
<presence xmlns="jabber:client" />

00:08:11.119 [70fec195333249caa9651e447b4a4159] SERVICE ► BOSH - BROWSER
<presence xmlns="jabber:client" from="user@OurDomain.com/Client_f3fd9c" to="user@OurDomain.com" />

00:08:11.244 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ► BROWSER (response 896497)
<body rid='2666908030' sid='70fec195333249caa9651e447b4a4159' xmlns='http://jabber.org/protocol/httpbind'><presence xmlns="jabber:client" from="user@OurDomain.com/Client_f3fd9c" to="user@OurDomain.com" /></body>

00:08:12.119 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896498)
<body rid='2666908031' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'/>

00:09:12.134 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896499)
<body rid='2666908032' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'/>

00:10:11.133 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896500)
<body rid='2666908033' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'><presence xmlns='jabber:client'/></body>

00:10:11.133 [70fec195333249caa9651e447b4a4159] SERVICE ◄ BOSH - BROWSER
<presence xmlns="jabber:client" />

00:10:11.133 [70fec195333249caa9651e447b4a4159] SERVICE ► BOSH - BROWSER
<presence xmlns="jabber:client" from="user@OurDomain.com/Client_f3fd9c" to="user@OurDomain.com" />

00:10:11.243 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ► BROWSER (response 896500)
<body rid='2666908033' sid='70fec195333249caa9651e447b4a4159' xmlns='http://jabber.org/protocol/httpbind'><presence xmlns="jabber:client" from="user@OurDomain.com/Client_f3fd9c" to="user@OurDomain.com" /></body>

00:10:12.118 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896501)
<body rid='2666908034' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'/>

00:11:12.117 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896502)
<body rid='2666908035' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'/>

00:12:11.112 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896503)
<body rid='2666908036' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'><presence xmlns='jabber:client'/></body>

00:12:11.112 [70fec195333249caa9651e447b4a4159] SERVICE ◄ BOSH - BROWSER
<presence xmlns="jabber:client" />

00:12:11.112 [70fec195333249caa9651e447b4a4159] SERVICE ► BOSH - BROWSER
<presence xmlns="jabber:client" from="user@OurDomain.com/Client_f3fd9c" to="user@OurDomain.com" />

00:12:11.221 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ► BROWSER (response 896503)
<body rid='2666908036' sid='70fec195333249caa9651e447b4a4159' xmlns='http://jabber.org/protocol/httpbind'><presence xmlns="jabber:client" from="user@OurDomain.com/Client_f3fd9c" to="user@OurDomain.com" /></body>

00:12:12.111 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896504)
<body rid='2666908037' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'/>

00:13:12.104 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896505)
<body rid='2666908038' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'/>

00:14:11.104 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896506)
<body rid='2666908039' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'><presence xmlns='jabber:client'/></body>

00:14:11.104 [70fec195333249caa9651e447b4a4159] SERVICE ◄ BOSH - BROWSER
<presence xmlns="jabber:client" />

00:14:11.104 [70fec195333249caa9651e447b4a4159] SERVICE ► BOSH - BROWSER
<presence xmlns="jabber:client" from="user@OurDomain.com/Client_f3fd9c" to="user@OurDomain.com" />

00:14:11.213 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ► BROWSER (response 896506)
<body rid='2666908039' sid='70fec195333249caa9651e447b4a4159' xmlns='http://jabber.org/protocol/httpbind'><presence xmlns="jabber:client" from="user@OurDomain.com/Client_f3fd9c" to="user@OurDomain.com" /></body>

00:14:12.104 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896507)
<body rid='2666908040' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'/>

00:15:12.103 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896508)
<body rid='2666908041' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'/>

00:16:11.618 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896509)
<body rid='2666908042' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'><presence xmlns='jabber:client'/></body>

00:16:11.618 [70fec195333249caa9651e447b4a4159] SERVICE ◄ BOSH - BROWSER
<presence xmlns="jabber:client" />

00:16:11.618 [70fec195333249caa9651e447b4a4159] SERVICE ► BOSH - BROWSER
<presence xmlns="jabber:client" from="user@OurDomain.com/Client_f3fd9c" to="user@OurDomain.com" />

00:16:11.759 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ► BROWSER (response 896509)
<body rid='2666908042' sid='70fec195333249caa9651e447b4a4159' xmlns='http://jabber.org/protocol/httpbind'><presence xmlns="jabber:client" from="user@OurDomain.com/Client_f3fd9c" to="user@OurDomain.com" /></body>

00:16:12.102 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896510)
<body rid='2666908043' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'/>

00:17:12.102 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896511)
<body rid='2666908044' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'/>

00:18:12.101 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896512)
<body rid='2666908045' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'><presence xmlns='jabber:client'/></body>

00:18:12.101 [70fec195333249caa9651e447b4a4159] SERVICE ◄ BOSH - BROWSER
<presence xmlns="jabber:client" />

00:18:12.101 [70fec195333249caa9651e447b4a4159] SERVICE ► BOSH - BROWSER
<presence xmlns="jabber:client" from="user@OurDomain.com/Client_f3fd9c" to="user@OurDomain.com" />

00:18:12.226 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ► BROWSER (response 896512)
<body rid='2666908045' sid='70fec195333249caa9651e447b4a4159' xmlns='http://jabber.org/protocol/httpbind'><presence xmlns="jabber:client" from="user@OurDomain.com/Client_f3fd9c" to="user@OurDomain.com" /></body>

00:18:13.101 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896513)
<body rid='2666908046' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'/>

00:19:13.100 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896514)
<body rid='2666908047' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'/>

00:20:12.115 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896515)
<body rid='2666908048' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'><presence xmlns='jabber:client'/></body>

00:20:12.115 [70fec195333249caa9651e447b4a4159] SERVICE ◄ BOSH - BROWSER
<presence xmlns="jabber:client" />

00:20:12.115 [70fec195333249caa9651e447b4a4159] SERVICE ► BOSH - BROWSER
<presence xmlns="jabber:client" from="user@OurDomain.com/Client_f3fd9c" to="user@OurDomain.com" />

00:20:12.225 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ► BROWSER (response 896514)
<body rid='2666908047' sid='70fec195333249caa9651e447b4a4159' xmlns='http://jabber.org/protocol/httpbind'><presence xmlns="jabber:client" from="user@OurDomain.com/Client_f3fd9c" to="user@OurDomain.com" /></body>

00:20:13.100 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896516)
<body rid='2666908049' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'/>

00:21:13.099 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896517)
<body rid='2666908050' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'/>

00:22:12.098 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896518)
<body rid='2666908051' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'><presence xmlns='jabber:client'/></body>

00:22:12.098 [70fec195333249caa9651e447b4a4159] SERVICE ◄ BOSH - BROWSER
<presence xmlns="jabber:client" />

00:22:12.098 [70fec195333249caa9651e447b4a4159] SERVICE ► BOSH - BROWSER
<presence xmlns="jabber:client" from="user@OurDomain.com/Client_f3fd9c" to="user@OurDomain.com" />

00:22:12.208 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ► BROWSER (response 896518)
<body rid='2666908051' sid='70fec195333249caa9651e447b4a4159' xmlns='http://jabber.org/protocol/httpbind'><presence xmlns="jabber:client" from="user@OurDomain.com/Client_f3fd9c" to="user@OurDomain.com" /></body>

00:22:13.099 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896519)
<body rid='2666908052' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'/>

00:23:13.098 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ◄ BROWSER (request 896520)
<body rid='2666908053' xmlns='http://jabber.org/protocol/httpbind' sid='70fec195333249caa9651e447b4a4159'/>

00:23:46.144 [f8629b4aae0e43de8bc2d4e40f030a21] SERVICE - BOSH ◄ BROWSER (request 896521)
<body rid='2685957028' xmlns='http://jabber.org/protocol/httpbind' to='OurDomain.com' xml:lang='en' wait='60' hold='1' content='text/xml; charset=utf-8' ver='1.6' xmpp:version='1.0' xmlns:xmpp='urn:xmpp:xbosh'/>

00:23:46.144 [f8629b4aae0e43de8bc2d4e40f030a21] SERVICE ◄ BOSH - BROWSER
<?xml version='1.0'?><stream:stream to='OurDomain.com' version='1.0' xml:lang='en'   xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

00:23:46.160 [f8629b4aae0e43de8bc2d4e40f030a21] SERVICE ► BOSH - BROWSER
<?xml version='1.0'?><stream:stream from='OurDomain.com' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' xml:lang='en' id='xmpp_996231' version='1.0'>

00:23:46.160 [f8629b4aae0e43de8bc2d4e40f030a21] SERVICE ► BOSH - BROWSER
<stream:features>  <auth xmlns='http://jabber.org/features/iq-auth'/>    <mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>    <mechanism>DIGEST-MD5</mechanism>    <mechanism>PLAIN</mechanism>    <mechanism>OAUTHBEARER</mechanism>  </mechanisms></stream:features>

00:23:46.269 [f8629b4aae0e43de8bc2d4e40f030a21] SERVICE - BOSH ► BROWSER (response 896521)
<body sid="f8629b4aae0e43de8bc2d4e40f030a21" wait="60" requests="2" ver="1.6" polling="5" inactivity="30" hold="1" to="mail.OurDomain.com" from="OurDomain.com" xmlns:stream="http://etherx.jabber.org/streams" xmpp:version="1.0" xmlns:xmpp="urn:xmpp:xbosh" xmlns="http://jabber.org/protocol/httpbind"><stream:features>  <auth xmlns='http://jabber.org/features/iq-auth'/>    <mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>    <mechanism>DIGEST-MD5</mechanism>    <mechanism>PLAIN</mechanism>    <mechanism>OAUTHBEARER</mechanism>  </mechanisms></stream:features></body>

00:23:46.379 [f8629b4aae0e43de8bc2d4e40f030a21] SERVICE - BOSH ◄ BROWSER (request 896522)
<body rid='2685957029' xmlns='http://jabber.org/protocol/httpbind' sid='f8629b4aae0e43de8bc2d4e40f030a21'><auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='OAUTHBEARER'>bixhPWlmZXN0aWxhQHF1YW50aWNsYWIuY29tLAFhdXRoPUJlYXJlciBleUowZVhBaU9pSktWMVFpTENKaGJHY2lPaUpTVXpJMU5pSjkuZXlKdVl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0e43de8bc2d4e40f030a21] SERVICE - BOSH ► BROWSER (response 896522)
<body rid='2685957029' sid='f8629b4aae0e43de8bc2d4e40f030a21' xmlns='http://jabber.org/protocol/httpbind'><success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/></body>

00:23:46.613 [f8629b4aae0e43de8bc2d4e40f030a21] SERVICE - BOSH ◄ BROWSER (request 896523)
<body rid='2685957030' xmlns='http://jabber.org/protocol/httpbind' sid='f8629b4aae0e43de8bc2d4e40f030a21' to='OurDomain.com' xml:lang='en' xmpp:restart='true' xmlns:xmpp='urn:xmpp:xbosh'/>

00:23:46.613 [f8629b4aae0e43de8bc2d4e40f030a21] SERVICE ◄ BOSH - BROWSER
<stream:stream to='OurDomain.com' version='1.0' xml:lang='en'   xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

00:23:46.613 [f8629b4aae0e43de8bc2d4e40f030a21] SERVICE ► BOSH - BROWSER
<?xml version='1.0'?><stream:stream from='OurDomain.com' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' xml:lang='en' id='xmpp_996231' version='1.0'><stream:features>  <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>  <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/></stream:features>

00:23:46.722 [f8629b4aae0e43de8bc2d4e40f030a21] SERVICE - BOSH ► BROWSER (response 896523)
<body rid='2685957030' sid='f8629b4aae0e43de8bc2d4e40f030a21' xmlns='http://jabber.org/protocol/httpbind'><stream:features xmlns:stream='http://etherx.jabber.org/streams'>  <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>  <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/></stream:features></body>

00:23:46.832 [f8629b4aae0e43de8bc2d4e40f030a21] SERVICE - BOSH ◄ BROWSER (request 896524)
<body rid='2685957031' xmlns='http://jabber.org/protocol/httpbind' sid='f8629b4aae0e43de8bc2d4e40f030a21'><iq type='set' id='_bind_auth_2' xmlns='jabber:client'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/></iq></body>

00:23:46.832 [f8629b4aae0e43de8bc2d4e40f030a21] SERVICE ◄ BOSH - BROWSER
<iq type="set" id="_bind_auth_2" xmlns="jabber:client">
  <bind xmlns="urn:ietf:params:xml:ns:xmpp-bind" />
</iq>

00:23:46.832 [f8629b4aae0e43de8bc2d4e40f030a21] SERVICE ► BOSH - BROWSER
<iq xmlns="jabber:client" id="_bind_auth_2" type="result">
  <bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource /><jid>ifestila@OurDomain.com/Client_a8b232</jid></bind>
</iq>

00:23:46.941 [f8629b4aae0e43de8bc2d4e40f030a21] SERVICE - BOSH ► BROWSER (response 896524)
<body rid='2685957031' sid='f8629b4aae0e43de8bc2d4e40f030a21' xmlns='http://jabber.org/protocol/httpbind'><iq xmlns="jabber:client" id="_bind_auth_2" type="result">
  <bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource /><jid>ifestila@OurDomain.com/Client_a8b232</jid></bind>
</iq></body>

00:23:47.051 [f8629b4aae0e43de8bc2d4e40f030a21] SERVICE - BOSH ◄ BROWSER (request 896525)
<body rid='2685957032' xmlns='http://jabber.org/protocol/httpbind' sid='f8629b4aae0e43de8bc2d4e40f030a21'><iq type='set' id='_session_auth_2' xmlns='jabber:client'><session xmlns='urn:ietf:params:xml:ns:xmpp-session'/></iq></body>

00:23:47.051 [f8629b4aae0e43de8bc2d4e40f030a21] SERVICE ◄ BOSH - BROWSER
<iq type="set" id="_session_auth_2" xmlns="jabber:client">
  <session xmlns="urn:ietf:params:xml:ns:xmpp-session" />
</iq>

00:23:47.051 [f8629b4aae0e43de8bc2d4e40f030a21] SERVICE ► BOSH - BROWSER
<iq xmlns="jabber:client" id="_session_auth_2" to="user@OurDomain.com/Client_a8b232" type="result">
  
</iq>

00:23:47.160 [f8629b4aae0e43de8bc2d4e40f030a21] SERVICE - BOSH ► BROWSER (response 896525)
<body rid='2685957032' sid='f8629b4aae0e43de8bc2d4e40f030a21' xmlns='http://jabber.org/protocol/httpbind'><iq xmlns="jabber:client" id="_session_auth_2" to="user@OurDomain.com/Client_a8b232" type="result">
  
</iq></body>

00:23:47.269 [f8629b4aae0e43de8bc2d4e40f030a21] SERVICE - BOSH ◄ BROWSER (request 896526)
<body rid='2685957033' xmlns='http://jabber.org/protocol/httpbind' sid='f8629b4aae0e43de8bc2d4e40f030a21'><iq type='get' id='_roster_1' xmlns='jabber:client'><query xmlns='jabber:iq:roster'/></iq><iq type='set' id='72e1e699-9f10-4326-9e89-956e82ecc375:carbons' xmlns='jabber:client'><enable xmlns='urn:xmpp:carbons:2'/></iq></body>

00:23:47.269 [f8629b4aae0e43de8bc2d4e40f030a21] SERVICE ◄ BOSH - BROWSER
<iq type="get" id="_roster_1" xmlns="jabber:client">
  <query xmlns="jabber:iq:roster" />
</iq><iq type="set" id="72e1e699-9f10-4326-9e89-956e82ecc375:carbons" xmlns="jabber:client">
  <enable xmlns="urn:xmpp:carbons:2" />
</iq>

00:23:47.269 [f8629b4aae0e43de8bc2d4e40f030a21] SERVICE ► BOSH - BROWSER
<iq xmlns="jabber:client" id="_roster_1" to="user@OurDomain.com/Client_a8b232" type="result">
  <query xmlns="jabber:iq:roster"><item jid="admin@OurDomain.com" name="admin" subscription="both"><group>OurDomain.com - Users</group></item><item jid="someuser@OurDomain.com" name="someuser" subscription="both"><group>OurDomain.com - Users</group></item><item jid="anotherUser@OurDomain.com" name="anotherUser" subscription="both"><group>OurDomain.com - Users</group></item><item jid="anotherUser@OurDomain.com" name="anotherUser" subscription="both"><group>OurDomain.com - Users</group></item><item jid="anotherUser@OurDomain.com" name="anotherUser" subscription="both"><group>OurDomain.com - Users</group></item><item jid="anotherUser@OurDomain.com" name="anotherUser" subscription="both"><group>OurDomain.com - Users</group></item><item jid="anotherUser@OurDomain.com" name="anotherUser" subscription="both"><group>OurDomain.com - Users</group></item><item jid="anotherUser@OurDomain.com" name="anotherUser" subscription="both"><group>OurDomain.com - Users</group></item><item jid="anotherUser@OurDomain.com" name="anotherUser" subscription="both"><group>OurDomain.com - 
  DELETED - it just goes on and on for each user
00:23:47.551 [f8629b4aae0e43de8bc2d4e40f030a21] SERVICE ◄ BOSH - BROWSER
<presence xmlns="jabber:client" />

00:23:47.551 [70fec195333249caa9651e447b4a4159] SERVICE ► BOSH - BROWSER
<presence xmlns="jabber:client" from="user@OurDomain.com/Client_a8b232" to="user@OurDomain.com" />

00:23:47.551 [f8629b4aae0e43de8bc2d4e40f030a21] SERVICE ► BOSH - BROWSER
<presence xmlns="jabber:client" from="user@OurDomain.com/Client_f3fd9c" to="user@OurDomain.com" />

00:23:47.551 [f8629b4aae0e43de8bc2d4e40f030a21] SERVICE ► BOSH - BROWSER
<presence xmlns="jabber:client" from="user@OurDomain.com/Client_a8b232" to="user@OurDomain.com" />

00:23:47.551 [f8629b4aae0e43de8bc2d4e40f030a21] SERVICE ► BOSH - BROWSER
<presence xmlns="jabber:client" from="Alias@OurDomain.com" to="user@OurDomain.com/Client_a8b232" />

00:23:47.660 [70fec195333249caa9651e447b4a4159] SERVICE - BOSH ► BROWSER (response 896520)
<body rid='2666908053' sid='70fec195333249caa9651e447b4a4159' xmlns='http://jabber.org/protocol/httpbind'><presence xmlns="jabber:client" from="user@OurDomain.com/Client_a8b232" to="user@OurDomain.com" /></body>

00:23:47.660 [f8629b4aae0e43de8bc2d4e40f030a21] SERVICE - BOSH ► BROWSER (response 896527)
<body rid='2685957034' sid='f8629b4aae0e43de8bc2d4e40f030a21' xmlns='http://jabber.org/protocol/httpbind'><presence xmlns="jabber:client" from="user@OurDomain.com/Client_f3fd9c" to="user@OurDomain.com" /><presence xmlns="jabber:client" from="user@OurDomain.com/Client_a8b232" to="user@OurDomain.com" /><presence xmlns="jabber:client" from="Alias@OurDomain.com" to="user@OurDomain.com/Client_a8b232" /></body>
I`m not sure if these are exceptions or not, but I do not think so. And these just go on and on - each log is 600 - 900 MB in size.

In the web interface the XMPP log is set to Exceptions Only. In the Program Files\SmarterTools\SmarterMail\Service\Settings\settings.json file I can see this:
"xmpp_log_level": 1000,
(not sure if this is exceptions only or not)
0
rishikesh Somshetti Replied
Dear SmarterMail Support,

Even we are observing 1.5 GB Sized XMPP logs on daily basis. We have checked the settings and it is Set to 'Exception Only'. We prefer having MRS & Spool on SSD and having XMPP logs created on the same drive is unnecessary. All Logs should be created at Single location.

We are using SmarterMail Enterprise 100.0.7593.31148 (Oct 15, 2020) 

Regards,
Rishikesh Somshetti
0
Employee Replied
Employee Post
There were two XMPP related logs. One that could be accessed through the web interface and used the log level settings therein.  The other log was specifically for bosh-xmpp traffic as Ionel Aurelian Rau recorded above.  That second log is a redundant log with no web interface tie.  We have already eliminated that logging to that redundant log in the next public release.

Reply to Thread