DebugLogDirectory and LogDirectory

DebugLogDirectory and LogDirectory SearchSearch
Author Message
Amar Shah
New member
Username: Amarshah

Post Number: 3
Registered: 06-2016
Posted on Tuesday, September 25, 2018 - 05:12 pm:   

Hi,

I have a fault tolerance setup for NowSMS.

I have specified the following in my SHAREDVOLUME.INI file on both frontends

[SharedVolume]
DebugLogDirectory=C:\Program Files (x86)\NowSMS\SMSDebug
LogDirectory=C:\Program Files (x86)\NowSMS\SMSLogs

I can see the Log files generated in the SMSLogs directory however the DEBUG files are still being generated in the NowSMS root directory.

I have also specified the below on the Shared Volume

SMSGW.INI

[SMSGW]
DebugLogDirectory=C:\Program Files (x86)\NowSMS\SMSDebug
LogDirectory=C:\Program Files (x86)\NowSMS\SMSLogs


MMSC.INI

[MMSC]
DebugLogDirectory=C:\Program Files (x86)\NowSMS\MMSDebug
LogDirectory=C:\Program Files (x86)\NowSMS\MMSLogs


Am I doing something wrong?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5971
Registered: 08-2008
Posted on Wednesday, September 26, 2018 - 07:36 pm:   

Hi Amar,

I've been running some tests to investigate. The DebugLogDirectory setting is only read from SMSGW.INI and MMSC.INI.

Do the SMSDebug and MMSDebug directories already exist?

If they do not, the default location is used.

--
Des
NowSMS Support
Amar Shah
New member
Username: Amarshah

Post Number: 4
Registered: 06-2016
Posted on Wednesday, September 26, 2018 - 07:51 pm:   

Hi Des,

The directories already exist. I assume as inside the NowSMS directory they would inherit the permissions from that directory and as able to write to the SMSLogs directory then should be ok.

Regards

Amar
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5972
Registered: 08-2008
Posted on Wednesday, September 26, 2018 - 09:50 pm:   

Hi Amar,

Let me make sure I am understanding correctly. At present, both SMS & MMS logs are written to C:\Program Files (x86)\NowSMS\SMSLogs and debug logs to C:\Program Files (x86)\NowSMS. Is that correct?

If LogDirectory is in SHAREDVOLUME.INI, it is used for all logs except debug logs. So, both SMS & MMS logs to C:\Program Files (x86)\NowSMS\SMSLogs is expected. Setting LogDirectory only in SMSGW.INI & MMSC.INI would correct this.

For the debug logs, as a test, can you try setting DebugLogDirectory=C:\Program Files (x86)\NowSMS\SMSLogs to rule out a directory specific problem.

If the debug logs are still in C:\Program Files (x86)\NowSMS, please advisements the version #, so that I can test with that version.

--
Des
NowSMS Support