MindscapeHQ / raygun4java

Java SDK for the Raygun service
https://raygun.com
MIT License
24 stars 21 forks source link

Headless server RaygunEnvironmentMessage does not gather data #18

Closed sstarcher closed 9 years ago

sstarcher commented 9 years ago

on a headless server

windowBoundsWidth = GraphicsEnvironment
                    .getLocalGraphicsEnvironment().getMaximumWindowBounds().width;

causes an issue due to X11 not existing

sstarcher commented 9 years ago

19

q42jaap commented 9 years ago

This is spamming our logs :( Which data is recorded should be a setting so we can turn them off.

sstarcher commented 9 years ago

@q42jaap you can configure the logger to turn off the warn from that class, but without the pull request I linked it only gets part of the data.

q42jaap commented 9 years ago

how would the "from that class" part work in logback xml config? http://logback.qos.ch/manual/filters.html doesn't contain this info at least... (We're using play framework)

I thought private static Logger logger = Logger.getLogger("Raygun4Java"); sets the logger name to Raygun4Java, can you somehow get the class that called the log?!? That would seem like magic to me...

sstarcher commented 9 years ago

@q42jaap I believe your correct you could only filter out all Raygun4Java loggers.

CmdrKeen commented 9 years ago

Hi Folks,

We'll have a look into this next week, sorry about the delay.