DebugLogDirectory and LogDirectory

DebugLogDirectory and LogDirectory SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » DebugLogDirectory and LogDirectory « Previous || Next »
Author Message
Amar Shah
New member
Username: Amarshah

Post Number: 3
Registered: 06-2016
Posted on Tuesday, September 25, 2018 - 03: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 - 05: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 - 05: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 - 07: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

Add Your Message Here, or click here to create a new discussion topic.
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image
Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Click here to create an account.
Username:
Password:
Options: Automatically activate URLs in message
Action:

Login Login / Register Logout Logout Search Last 30 Days Topics Topics