7,821

Views

Beginner

Level

4

Comments

Generating Logs

by Jon (Updated on 2014-01-28)


You'll often be asked to "Generate Logs" if you post up a bug report or ask for help.

 

How to Generate Logs

Go to this menu item. Save it out and attach to your forum post.

Starting in Stencyl 3.0, the item is located at Debug > Logs > Generate Logs.

 

Why are logs useful?

  • The error reports tell us exactly where in the code things died.
  • Veterans can identify problems they've seen in the past.
  • We can roughly trace what you did along the way.

 

How to tell someone else to generate their logs

Use this code in your forum post.

[url=http://community.stencyl.com/index.php/topic,1190.0.html][img]http://community.stencyl.com/index.php?action=dlattach;topic=1190.0;attach=1164;image[/img][/url]
Disclaimer: All articles are geared towards Stencyl 3.0 and above. Use comments to provide feedback and point out issues with the article (typo, wrong info, etc.). If you're seeking help for your game, please ask a question on the forums. Thanks!

4 Comments

TheDigiSeviper
java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space
at stencyl.sw.app.tasks.StencylWorker. done(StencylWorker.java:74)
at stencyl.sw.app.tasks.SaveGameTask.d one(SaveGameTask.java:74)
at javax.swing.SwingWorker$5.run(Unkno wn Source)
at javax.swing.SwingWorker$DoSubmitAcc umulativeRunnable.run(Unknown Source)
at sun.swing.AccumulativeRunnable.run( Unknown Source)
at javax.swing.SwingWorker$DoSubmitAcc umulativeRunnable.actionPerformed(U nknown Source)
at javax.swing.Timer.fireActionPerform ed(Unknown Source)
at javax.swing.Timer$DoPostEvent.run(U nknown Source)
at java.awt.event.InvocationEvent.disp atch(Unknown Source)
at java.awt.EventQueue.dispatchEventIm pl(Unknown Source)
at java.awt.EventQueue.access$000(Unkn own Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPr ivileged(Native Method)
at java.security.AccessControlContext$ 1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(U nknown Source)
at java.awt.EventDispatchThread.pumpOn eEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEv entsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEv entsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEv ents(Unknown Source)
at java.awt.EventDispatchThread.pumpEv ents(Unknown Source)
at java.awt.EventDispatchThread.run(Un known Source)
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferInt.<in it>(Unknown Source)
at java.awt.image.Raster.createPackedR aster(Unknown Source)
at java.awt.image.DirectColorModel.cre ateCompatibleWritableRaster(Unknown Source)
at java.awt.image.BufferedImage.<in it>(Unknown Source)
at stencyl.sw.util.gfx.ImageUtil.scale Manually(ImageUtil.java:272)
at stencyl.sw.util.gfx.ImageUtil.scale (ImageUtil.java:266)
at stencyl.sw.io.write.GameFileWriter. ensureSize(GameFileWriter.java:89)< br /> at stencyl.sw.io.write.GameFileWriter. write(GameFileWriter.java:212)
at stencyl.sw.io.write.MasterWriter.sa veGame(MasterWriter.java:80)
at stencyl.sw.app.tasks.SaveGameTask.d oInBackground(SaveGameTask.java:48)
at stencyl.sw.app.tasks.SaveGameTask.d oInBackground(SaveGameTask.java:16)
at javax.swing.SwingWorker$1.call(Unkn own Source)
at java.util.concurrent.FutureTask$Syn c.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run (Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExec utor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExec utor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
2015-03-30 19:20:19,800 WARN [Timer-0] stencyl.sw.SW: Running low on free memory: 100.0
2015-03-30 19:20:22,801 WARN [Timer-0] stencyl.sw.SW: Running low on free memory: 100.0

0 2 weeks, 5 days ago
madhu pamarthi

[ERR] Verifying Top Level... draw
[ERR] Result for: str-combine - true
[ERR] Result for: draw-text - true
[ERR] Result for: draw-text - true
[ERR] Result for: str-combine - true
[ERR] Result for: draw-text - true
[ERR] Result for: draw-text - true
[ERR] Result for: actor-get-prop - true
[ERR] Result for: draw-text - true
[ERR] Result for: draw-text - true
[ERR] Result for: if - false
[ERR] Result for: draw - false
[LOG] Activated: Slope Detection
[LOG] Open Took 3296ms
[LOG] Total Took 3390ms
[LOG] Action: Generate Logs
[LOG] Copy file from: C:\Documents and Settings\user\Application Data\Stencyl\stencylworks\logs\05-2 7-2014_0035_PM.log to: C:\Documents and Settings\user\stencylTempLogs\05-27 -2014_0035_PM.log
[LOG] Copy file from: C:\Documents and Settings\user\Application Data\Stencyl\stencylworks\logs\05-2 7-2014_0106_PM.log to: C:\Documents and Settings\user\stencylTempLogs\05-27 -2014_0106_PM.log
[LOG] Copy file from: C:\Documents and Settings\user\Application Data\Stencyl\stencylworks\logs\05-2 7-2014_0820_PM.log to: C:\Documents and Settings\user\stencylTempLogs\05-27 -2014_0820_PM.log
[LOG] Write String out as file to: C:\Documents and Settings\user\stencylTempLogs\Confi g.log

0 10 months, 3 weeks ago
amirarakik123
[LOG] Action: Generate Logs
[ERR] Could not delete file: /Users/abdelhadirakik/stencylWorksT empLogs
[LOG] Copy file from: /Users/abdelhadirakik/stencylworks/ logs/04-23-2014_0735_PM.log to: /Users/abdelhadirakik/stencylWorksT empLogs/04-23-2014_0735_PM.log
[LOG] Copy file from: /Users/abdelhadirakik/stencylworks/ logs/04-23-2014_0800_PM.log to: /Users/abdelhadirakik/stencylWorksT empLogs/04-23-2014_0800_PM.log
[LOG] Copy file from: /Users/abdelhadirakik/stencylworks/ logs/04-23-2014_0801_PM.log to: /Users/abdelhadirakik/stencylWorksT empLogs/04-23-2014_0801_PM.log
[LOG] Write String out as file to: /Users/abdelhadirakik/stencylWorksT empLogs/Config.log
[LOG] Action: Generate Logs
[ERR] Could not delete file: /Users/abdelhadirakik/stencylWorksT empLogs
[LOG] Copy file from: /Users/abdelhadirakik/stencylworks/ logs/04-23-2014_0735_PM.log to: /Users/abdelhadirakik/stencylWorksT empLogs/04-23-2014_0735_PM.log
[LOG] Copy file from: /Users/abdelhadirakik/stencylworks/ logs/04-23-2014_0800_PM.log to: /Users/abdelhadirakik/stencylWorksT empLogs/04-23-2014_0800_PM.log
[LOG] Copy file from: /Users/abdelhadirakik/stencylworks/ logs/04-23-2014_0801_PM.log to: /Users/abdelhadirakik/stencylWorksT empLogs/04-23-2014_0801_PM.log
[LOG] Write String out as file to: /Users/abdelhadirakik/stencylWorksT empLogs/Config.log

0 12 months ago
robert123
[LOG] Action: Generate Logs
[LOG] Copy file from: C:\Users\RGIII\AppData\Roaming\Sten cyl\stencylworks\logs\02-25-2014_01 38_PM.log to: C:\Users\RGIII\stencylWorksTempLogs \02-25-2014_0138_PM.log
[LOG] Copy file from: C:\Users\RGIII\AppData\Roaming\Sten cyl\stencylworks\logs\02-25-2014_04 45_PM.log to: C:\Users\RGIII\stencylWorksTempLogs \02-25-2014_0445_PM.log
[LOG] Copy file from: C:\Users\RGIII\AppData\Roaming\Sten cyl\stencylworks\logs\02-25-2014_05 16_PM.log to: C:\Users\RGIII\stencylWorksTempLogs \02-25-2014_0516_PM.log
[LOG] Copy file from: C:\Users\RGIII\AppData\Roaming\Sten cyl\stencylworks\logs\02-25-2014_05 29_PM.log to: C:\Users\RGIII\stencylWorksTempLogs \02-25-2014_0529_PM.log
[LOG] Copy file from: C:\Users\RGIII\AppData\Roaming\Sten cyl\stencylworks\logs\02-25-2014_05 30_PM.log to: C:\Users\RGIII\stencylWorksTempLogs \02-25-2014_0530_PM.log
[LOG] Copy file from: C:\Users\RGIII\AppData\Roaming\Sten cyl\stencylworks\logs\02-25-2014_05 42_PM.log to: C:\Users\RGIII\stencylWorksTempLogs \02-25-2014_0542_PM.log
[LOG] Copy file from: C:\Users\RGIII\AppData\Roaming\Sten cyl\stencylworks\logs\02-25-2014_07 22_PM.log to: C:\Users\RGIII\stencylWorksTempLogs \02-25-2014_0722_PM.log
[LOG] Copy file from: C:\Users\RGIII\AppData\Roaming\Sten cyl\stencylworks\logs\02-25-2014_08 27_PM.log to: C:\Users\RGIII\stencylWorksTempLogs \02-25-2014_0827_PM.log
[LOG] Copy file from: C:\Users\RGIII\AppData\Roaming\Sten cyl\stencylworks\logs\02-25-2014_08 34_PM.log to: C:\Users\RGIII\stencylWorksTempLogs \02-25-2014_0834_PM.log
[LOG] Copy file from: C:\Users\RGIII\AppData\Roaming\Sten cyl\stencylworks\logs\02-25-2014_08 38_PM.log to: C:\Users\RGIII\stencylWorksTempLogs \02-25-2014_0838_PM.log
[LOG] Copy file from: C:\Users\RGIII\AppData\Roaming\Sten cyl\stencylworks\logs\02-25-2014_08 39_PM.log to: C:\Users\RGIII\stencylWorksTempLogs \02-25-2014_0839_PM.log
[LOG] Copy file from: C:\Users\RGIII\AppData\Roaming\Sten cyl\stencylworks\logs\02-25-2014_08 46_PM.log to: C:\Users\RGIII\stencylWorksTempLogs \02-25-2014_0846_PM.log
[LOG] Copy file from: C:\Users\RGIII\AppData\Roaming\Sten cyl\stencylworks\logs\02-25-2014_08 53_PM.log to: C:\Users\RGIII\stencylWorksTempLogs \02-25-2014_0853_PM.log
[LOG] Copy file from: C:\Users\RGIII\AppData\Roaming\Sten cyl\stencylworks\logs\02-25-2014_09 07_PM.log to: C:\Users\RGIII\stencylWorksTempLogs \02-25-2014_0907_PM.log
[LOG] Copy file from: C:\Users\RGIII\AppData\Roaming\Sten cyl\stencylworks\logs\02-25-2014_09 24_PM.log to: C:\Users\RGIII\stencylWorksTempLogs \02-25-2014_0924_PM.log
[LOG] Copy file from: C:\Users\RGIII\AppData\Roaming\Sten cyl\stencylworks\logs\02-25-2014_09 26_PM.log to: C:\Users\RGIII\stencylWorksTempLogs \02-25-2014_0926_PM.log
[LOG] Write String out as file to: C:\Users\RGIII/stencylWorksTempLogs /Config.log

-1 1 year, 1 month ago

Sign In to Comment