Discussion in '3CX Phone System - General' started by VGraham, Nov 13, 2012.

Not open for further replies.
1. ### VGraham

Joined:
Nov 8, 2012
Messages:
5
0
Hello all, I am writing a C++ command line program to phrase the log files. For testing I just ran the visual .exe, but I need to do this as part of a scheduled task, this is where I have ran into the problem, when I call 3cxLogViewer.exe command line, I get a error telling me that I need a bldef and blrec files, but I can not find any documentation of what these files need to contain or the format. The closest thing that I can find is http://www.3cx.com/blog/docs/3cx-log-viewer/ and it just said that they are needed.

So my question is, what do these file need to contain and is there any reference saying what the format/options are?
I looked at the admin manual and it did not address these files at all.

P.S.
I tried to post this question on the 3cx V-11 forum on the 8th with no reply's so anything would be helpful.

Thanks.

#1
2. ### VGraham

Joined:
Nov 8, 2012
Messages:
5
0
Found!

After digging for a while I found the location, the default is (at lest on win 7, i think as far back as 08 server I think) is "C:\ProgramData\3CX\Data\Logs" Both files are there named
3CXPhoneSystem.bldef
and
3CXPhoneSystem-time coded date.blrec

Command Line call as shown in http://www.3cx.com/blog/docs/3cx-log-viewer/ in the 'Other Features' --> 'Command Line'
/* Path to your install path. */ Path\to\3CX PhoneSystem\Bin\Support\3CXBinLogViewer\3cxBinLogViewer.exe
/* This is the default path. */ C:\ProgramData\3CX\Data\Logs\3CXPhoneSystem.bldef /* This defines what will be in the log. */
/* This is what ever path you wish. */ Path\to\3cxlogs\log.txt

So a real call would be /* On my system */
c:\Program Files\3CX PhoneSystem\Bin\Support\3CXBinLogViewer\3cxBinLogViewer.exe c:\ProgramData\3CX\Data\Logs\3CXPhoneSystem.bldef c:\3cxlogs\LogFile.txt

This will put the last settings used in the 3cxBinLogViewer.exe in the output file. I have not figured out how to configure this independent of what you viewed last, if I do I'll post it then.

Hope this helps.

#2