Link to home
Start Free TrialLog in
Avatar of chaitu chaitu
chaitu chaituFlag for India

asked on

how to give windows sharing folder path in linux

i have deployed application in jboss in linux environment;my environment is windows.i want to drop jboss logs in my sharing folder c:/sharing/x.log;Is it possible?;
Avatar of girionis
girionis
Flag of Greece image

You coudl (possibly) do it if you define the logs to be in a network machine (given that you have access) by using the file protocol:

file:///<path to your file>
Or maybe: \\<ip or dns of the machine you want your logs>\sharing\x.log
> file:///<path to your file>

should be

file:\\\\<path to your file>
mount the drive on your linux box (using samba for example) and specify the path to the directory in the mounted drive
Avatar of chaitu chaitu

ASKER

as i told u i deployed jboss in linux;in log4j.xml file in presently it is
/jboss/server/log/x.log
now i want to changed it to
file:\\\\mysystemnumber\sharing\x.log
chaituu, please do not double post the same question.  if you want the Q seen in two or more places, do pointer questions instead

https://www.experts-exchange.com/questions/21895391/how-to-give-windows-sharing-folder-path-in-linux.html
Make


/jboss/server/log

a symlink to the Samba-mounted windows directory
ASKER CERTIFIED SOLUTION
Avatar of girionis
girionis
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial