Alex Karasulu wrote:
Looks like the standard out log file fills up with ...

-> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> - > -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> - > -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> - > -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> - > -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> ->

It keeps on filling and filling ... it will fill a disk if you let it. How can we disable
this shell in production mode?

Just as a heads up look at the header it prints out first. I can probably figure out a way to rig it so this does not load by default but I'm running out of time. Anyways here's
the head of the log:

DEBUG: WIRE: [1.0] 1.0 -> org.osgi.service.packageadmin -> 0
DEBUG: WIRE: [1.0] 1.0 -> org.osgi.service.startlevel -> 0
DEBUG: WIRE: [1.0] 1.0 -> org.osgi.framework -> 0
DEBUG: WIRE: [1.0] 1.0 -> org.ungoverned.osgi.service.shell -> 1.0
DEBUG: WIRE: [1.0] 1.0 -> org.apache.felix.shell -> 1.0
DEBUG: WIRE: [2.0] 2.0 -> org.osgi.framework -> 0
DEBUG: WIRE: [2.0] 2.0 -> org.apache.felix.shell -> 1.0
-> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> - > -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> ->
...

As you can see it's stuff infinitely printing out to the console waiting for IO but well there is no console since the file descriptor does not exist for stdin. I think the best way to do this is to enable a switch that let's use select a different config.properties file.

Alex

Reply via email to