Author Topic: Backup your PlaneShift chat log files.  (Read 2297 times)

Sibylla

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
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.




Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: Backup your PlaneShift chat log files.
« Reply #1 on: February 01, 2009, 04:34:06 pm »
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.

it is _not_ possible to loose your logs between installs of the game as the installer/remover has no writing access nor knows about where the logs are located. In prior versions when the logs where located in the install folder yes you could loose your logs and screenshots, this is no longer the case.

Prolix

  • Guest
Re: Backup your PlaneShift chat log files.
« Reply #2 on: February 01, 2009, 08:49:23 pm »
Personally I find that these files can get a little large. Once you have left the tutorial, those logs are not useful for that account anymore. At any rate something like logrotate might come in handy to keep things in hand.

Nykolai Raskaniov

  • Hydlaa Resident
  • *
  • Posts: 191
    • View Profile
Re: Backup your PlaneShift chat log files.
« Reply #3 on: February 02, 2009, 01:11:24 pm »
Great post Sibylla !

Caarrie is right, since 0.4.00 or so the chat logs do not get overridden but backup is the mother of safety, computer wise. :)
"Skiing combines outdoor fun with knocking down trees with your face."