Skip to Content
Former Member
Dec 04, 2008 at 06:42 AM

Requirement to obtain server path dynamically


Hi Experts,

I have two issues.

I have implemented a Logging mechanism successfully in my application. I have a .properties file, in which I load the Logging properties(eg. Location of the server where the logs are stored). At the moment, I have entered the server location in the properties file. But I am not sure how would I modify this properties file if I package it into an .sca file and deploy it at the destination server. Hence I wanted to look for a way to>mention the Relative Path of the server (eg D:\usr\sap). With which I would be sure that the deployed file need not be modified.

Also another issue with my logger is that, log messages below the "ERROR" level are not logged. How do I change the configuration to trace messages of severity below "ERROR"

Thanks in advance

--- Brian

Edited by: Brian Fernandes on Dec 4, 2008 12:12 PM