on 12-12-2005 6:32 AM
I deployed an Sap XI adapter on pck, I used programatic coding for log. (I still cannot see the log by log-configuration.xml), sample code are like the following
Location loc = Location.getLocation(this);
loc.setEffectiveSeverity(Severity.ALL);
loc.addLog(new FileLog("D:/Temp/location.log",new TraceFormatter()));
loc.debugT("log from the location object");
the log is outputed, but now the file is more than 1GB, i want to clear the content, now the system told me that there is a sharing voilation, How to clear the log file
Hi Tang,
Just try reducing the severity to Severity.WARNING, so that the dump will get reduced.
Its basically the severity that caused the huge size of the log file.
check it out.
regards,
P.Venkataramanan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tang,
please check this link. It will be helpful.
http://help.sap.com/saphelp_nw04/helpdata/en/aa/fce73a86e99c77e10000000a114084/content.htm
Regards
Vishal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Spring,
It seems your problem is not yet solved!
Stop all the sap services and delete the file. Even if you stop the J2EE server, the services will be still running!
goto ctrl panel -> services
stop according to this sequence,
SAPOSCOL and then SAP<SID>_0x (0 to x)
then delete that file. You will be able to.
Still, if you are not able to delete the file, right click on that file and click security tab and give all permissions to SYSTEM and no tick must be on deny. Now you will be able to delete the file. This happens sometimes when some file gets locked
regards,
Felix
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.