Hi there im running xbmc on lucid and setup an ramdisk for all logging going-on in the system (SSD). I would like to know if its possible to specify a path for the xbmc.log somewhere. I would like it to be written in /var/log instead of the /home directory.
Celox Wrote:Hi there im running xbmc on lucid and setup an ramdisk for all logging going-on in the system (SSD). I would like to know if its possible to specify a path for the xbmc.log somewhere. I would like it to be written in /var/log instead of the /home directory.
Because its Linux, you could just use a symbolic link (aka: symlink). I use this with my grub.conf file so i can modify it from /etc instead of going into /boot.
Copy xbmc.log where you want it, then while inside the folder it used to be in, run:
Code:
ln -s name_of_real_file name_of_link
So something like this:
ln -s /var/log/xbmc.log xbmc.log
I'm sure there are possibly other options, but that's what i would do.
Good Luck!
PS: You can find out more about symlink's
here.
i know about symlinks but up until now i thought it was only for folders
thanks for the help! i will give it a go!