Unsolved

This post is more than 5 years old

3 Posts

3544

April 1st, 2009 05:00

Centera Logging Issues

Hi I'm using EMC Centera SDK 3.2607 on Sun OS 5.10 and I cannot seem to get any output to a file using the

FP_LOGPATH command.

My application is currently experiencing intermittent connection problems when writing to the CAS and I've tried to implement this command to record any errors.  I can produce the file by setting the following environment variable, but it is empty.

FP_LOGPATH=/[DIRECTORY PATH]/emc.log

export FP_LOGPATH

to

/[ANOTHER DIRECTORY PATH]/setDomainEnv.sh

Once I've restarted the app I can see the connection error in the application log files, but nothing is produced in the emc.log file.

Any help would be much appreciated.

Ian

2 Intern

 • 

417 Posts

April 1st, 2009 06:00

Logging can be temperamental in some environments. Try using

FPLIBRARY_LOG_FILE_DEBUG

for the environment varaiable. That works in all environments I have ever tried it in.

2 Intern

 • 

417 Posts

April 2nd, 2009 04:00

What happens when you shut the weblogic server down? There may be contention on the file with multiple threads trying to access it for write at the same time.

At the very least, when logging is initialized you should see the SDK version as the first line in the log file.

You could try using system utilities to check that the file is being correctly opened by your porocess and that it is actually trying to wrte to it.

3 Posts

April 2nd, 2009 04:00

Thanks for the update.  I've tried this logging today and ufortunately get the same results - the file is produced (with today's date and timestamp), but it's empty.  When I check the weblogic logs I can see the error is occuring, but nothing is being logged in the emc.log file.

If there anything else I can try or check?

Ian

2 Intern

 • 

417 Posts

April 2nd, 2009 05:00

Things like Process Monitor on Windows or truss / strace on UNIX based systems.

3 Posts

April 2nd, 2009 05:00

I've restarted the server when I removed the logging, so I don't think there's any thread contention.

Are you able to advise what utilities I could use?

0 events found

No Events found!

Top