1
Newbie Help (Start Here) / Backup your PlaneShift chat log files.
« on: February 01, 2009, 03:20:28 pm »
Log files are useful for finding old quest instructions.
If like me, PlaneShift has been installed, removed and installed again
then, as in my case, PlaneShift log files from previous installations
can get lost and therefore quest instructions/conversations are lost
too.
I use Linux/UNIX. I am not a Windows or Macintosh user so it would be
helpful if those users could add to this thread with equivalent
suggestions.
In the following examples replace 'Sibylla_Leh' with your character
name. If your character name is 'John Smith' then instead of:
Sibylla_Leh_chat.txt
use:
John_Smith_chat.txt
PlaneShift log files are located in the following directories
depending on the operating system we use:
Windows: In the user home directory, usually in "Document and
Setting\Username\Application Data\PlaneShift
Linux: ~/.PlaneShift
Mac OS X: ~/Library/Application Support/PlaneShift
Source: http://www.hydlaaplaza.com/smf/index.php?topic=32332.0
Backup your PlaneShift chat log file:
=====================================
To backup you PlaneShift chat log file:
Linux/UNIX:
-----------
mkdir ~/PlaneShift_Backups
cp ~/.PlaneShift/logs/Sibylla_Leh_chat.txt ~/PlaneShift_Backups/Sibylla_Leh_chat_01-02-09.txt
Windows and Macintosh:
----------------------
Use the file manager to:
- Create a backup directory.
- Copy you PlaneShift log file to that new backup directory.
- Rename the backup copy of your PlaneShift chat log file so it does
not get overwritten the next time you back-it-up.
Scenario:
=========
We want to see what Trasok recently said to us.
On linux/UNIX type:
grep "Trasok Starhammer" ~/.PlaneShift/logs/Sibylla_Leh_chat.txt
or
grep "Trasok Starhammer" ~/PlaneShift_Backups/Sibylla_Leh_chat_01-02-09.txt
Alternatively use a text editor to open and search the log file or a
backed-up chat log file for: Trasok Starhammer
(Linux/UNIX) Use the tail application to monitor chat activity:
---------------------------------------------------------------
tail -f .PlaneShift/logs/Sibylla_Leh_chat.txt
I find this command useful for watching activity generated by all tabs
except the System tab, while I have the System tab open or while
PlaneShift is hidden behind other applications, is located on another
screen or is minimised.