Difference between revisions of "Latest.log"

From Elite Wiki
m (Tweaks!)
(Added note about "pollutions of global namespace" and Library OXP)
 
(11 intermediate revisions by 2 users not shown)
Line 14: Line 14:
 
* '''Windows''': in Oolite’s folder (typically in C:\''Oolite''), there is a folder called ''oolite.app'', which contains a folder called ''Logs''. A shortcut to this folder is created at Oolite's Start Menu entries during installation. If you have installed the game in a folder subject to file virtualization like C:\Program Files\Oolite and encounter difficulty in locating the log files, then please refer to the Known Issues section of this FAQ for information on how to access them.
 
* '''Windows''': in Oolite’s folder (typically in C:\''Oolite''), there is a folder called ''oolite.app'', which contains a folder called ''Logs''. A shortcut to this folder is created at Oolite's Start Menu entries during installation. If you have installed the game in a folder subject to file virtualization like C:\Program Files\Oolite and encounter difficulty in locating the log files, then please refer to the Known Issues section of this FAQ for information on how to access them.
 
* '''Linux and other Unix-like systems''': ~/.Oolite/Logs (that is, in the hidden folder ''.Oolite'' in your home folder). If you’re using Nautilus or Konqueror — if you’ve never heard of them, you probably are — select Show Hidden Files from the View menu.
 
* '''Linux and other Unix-like systems''': ~/.Oolite/Logs (that is, in the hidden folder ''.Oolite'' in your home folder). If you’re using Nautilus or Konqueror — if you’ve never heard of them, you probably are — select Show Hidden Files from the View menu.
 +
 +
== Output to Latest.log ==
 +
Not ''all'' material in the latest.log comes from the Oolite game engine. If you have OXPs loaded, some may come from OXPs instead. <br>
 +
One such culprit is the [[Library OXP]] which takes it upon itself to anonymously warn of pollutions of global namespace. See [https://bb.oolite.space/viewtopic.php?t=21684 "Warning! Global namespace polluted..." (Oh my, that sounds serious.)] (2024).
  
 
== More information ==
 
== More information ==
*[[LogEvents]] adds much more information about your game (such as details of battles) to your latest.log (highly recommended!)
+
*[[LogEvents]] adds ''much'' more information about your game (such as details of battles) to your latest.log (highly recommended!)
 +
:(See also [[Logcontrol.plist]] - which controls output to the latest.log: for those with skills in [[The Dark Side]]).
  
 
*If you are developing an oxp you may find the second of the [[Oolite#Varieties_of_Oolite|three varieties]] of Oolite more useful - the Developer Version - which supports the [[Debug OXP]]  
 
*If you are developing an oxp you may find the second of the [[Oolite#Varieties_of_Oolite|three varieties]] of Oolite more useful - the Developer Version - which supports the [[Debug OXP]]  
  
 +
*[https://bb.oolite.space/viewtopic.php?f=4&t=18607 Monitor attacks more detailed than "shipTakingDamage"/"shipBeingAttacked"]: ''ie'' which ship attacked and which shield was impacted. (2017)
 +
 +
*[https://bb.oolite.space/viewtopic.php?f=4&t=12140 "reportAIMessages" and pretty circles and lines] (2012) - note that this predates cim's revamp of the AIs
 +
 +
=== badWeaponRange ===
 +
See [https://bb.oolite.space/viewtopic.php?f=4&t=18701 Strange message in the log file] (2017)
 +
 +
== Less information ==
 +
See [https://bb.oolite.space/viewtopic.php?p=283232#p283232 these posts] or [https://bb.oolite.space/viewtopic.php?f=4&t=18897 here] for removing "oxp-standards.deprecated" messages (.GNUstepDefaults)
 +
 +
There is no effect on gameplay with these.
 +
:Examples include "Old style sub-entity declarations are deprecated in ...", "does not use strict", "has no manifest" ... ''etc''.
 +
 +
== Fixing things! ==
 +
*The AppleMac is less forgiving of syntax errors than the Windows operating system. See [https://bb.oolite.space/viewtopic.php?f=4&t=19525 here] for some possible fixes (2018). See a_c's note on using the [[Expansions Manager]] to unzip the OXZ's.
 +
*[[How to tweak OXZ's]]
  
[[Category:Oolite utilities]] [[Category:Oolite scripting]]
+
[[Category:Oolite utilities]] [[Category:Oolite scripting]] [[Category:Help pages]]

Latest revision as of 05:52, 2 September 2024

Selections from a Latest.log

While Oolite runs, various diagnostic information is written to a file called Latest.log.

Overview

The moment you start up your game a latest.log is created (or overwritten) with current information about it (eg. list of OXP's loaded).

At any one time you will have just the one latest.log (your current game or that most recently finished), one previous.log (the previous game) and no information about older games.

If something goes wrong with your game you will often be asked to submit information from your latest.log (which can be incredibly long!).

Location of Latest.log

Where it is depends on your operating system:

  • Mac OS X: Restart Oolite, and select “Show Previous Log” from the “Oolite” menu in the menu bar. Alternatively, in the Finder, select “Go to Folder…” from the Go menu, and enter “~/Library/Logs/Oolite/”, and find Latest.log.
  • Windows: in Oolite’s folder (typically in C:\Oolite), there is a folder called oolite.app, which contains a folder called Logs. A shortcut to this folder is created at Oolite's Start Menu entries during installation. If you have installed the game in a folder subject to file virtualization like C:\Program Files\Oolite and encounter difficulty in locating the log files, then please refer to the Known Issues section of this FAQ for information on how to access them.
  • Linux and other Unix-like systems: ~/.Oolite/Logs (that is, in the hidden folder .Oolite in your home folder). If you’re using Nautilus or Konqueror — if you’ve never heard of them, you probably are — select Show Hidden Files from the View menu.

Output to Latest.log

Not all material in the latest.log comes from the Oolite game engine. If you have OXPs loaded, some may come from OXPs instead.
One such culprit is the Library OXP which takes it upon itself to anonymously warn of pollutions of global namespace. See "Warning! Global namespace polluted..." (Oh my, that sounds serious.) (2024).

More information

  • LogEvents adds much more information about your game (such as details of battles) to your latest.log (highly recommended!)
(See also Logcontrol.plist - which controls output to the latest.log: for those with skills in The Dark Side).
  • If you are developing an oxp you may find the second of the three varieties of Oolite more useful - the Developer Version - which supports the Debug OXP

badWeaponRange

See Strange message in the log file (2017)

Less information

See these posts or here for removing "oxp-standards.deprecated" messages (.GNUstepDefaults)

There is no effect on gameplay with these.

Examples include "Old style sub-entity declarations are deprecated in ...", "does not use strict", "has no manifest" ... etc.

Fixing things!

  • The AppleMac is less forgiving of syntax errors than the Windows operating system. See here for some possible fixes (2018). See a_c's note on using the Expansions Manager to unzip the OXZ's.
  • How to tweak OXZ's