Dear Maxime,
sorry, was unclear and incomplete in my statements! What I meant with "dialog" is the screensharing dialog that doesn't come up when I integrate the logger as descibed (in the constructor):

/private static final Logger logger = Red5LoggerFactory.getLogger(ScreenSharerFrame.class, OpenmeetingsVariables.webAppRootKey);//
//
//...//
////
//public ScreenSharerFrame(final CoreScreenShare m_core, String[] textLabels) throws AWTException { //
//
//...//
//logger.warn("test");//
//logger.debug("test");//
//logger.trace("test");//
//}//
/
Not a single log (error/openmeetings/red5) shows the "test" entry. Any ideas? Maybe its JAVA not accessed the right way.
Cheers,
Rene'

~~~~~~~
*Dr.-Ing. Rene' Rosenbaum
meeCoda^IT  *  - Consulting and Services
 ~: Neue Reihe 15, 18182 Goorstorf, Germany
 #: ++49-(0)-1781408041
 @:[email protected]  <mailto:[email protected]>
//:www.meecoda.de  <http://www.meecoda.de>
~~~~~~~~~~~~~~ +++ ~~~~~~~~~~~~~~~~

On 2/8/2014 6:16 AM, Maxim Solodovnik wrote:
no dialog will pop up
all messages will go to the log (openmeetings.log)


On Sat, Feb 8, 2014 at 4:06 AM, Rene' Rosenbaum <[email protected]> wrote:

Hi Maxim,
thanks for your quick reply! Tried it, but without success. Maybe its the
class?

=> private static final Logger logger = 
Red5LoggerFactory.getLogger(ScreenSharerFrame.class,
OpenmeetingsVariables.webAppRootKey);

Compiles well, but dialog doesn't come up ... probably crashes before :(
Any idea what I'm doing wrong? Debugging is pretty though without the
option to log :)
Cheers,
Rene'

~~~~~~~
*Dr.-Ing. Rene' Rosenbaum
meeCoda^IT  *  - Consulting and Services
  ~: Neue Reihe 15, 18182 Goorstorf, Germany
  #: ++49-(0)-1781408041
  @:[email protected]  <mailto:[email protected]>
//:www.meecoda.de  <http://www.meecoda.de>
~~~~~~~~~~~~~~ +++ ~~~~~~~~~~~~~~~~

On 2/7/2014 4:56 PM, Maxim Solodovnik wrote:

Here is the example:
https://svn.apache.org/viewvc/openmeetings/branches/2.x/src/
org/apache/openmeetings/data/flvrecord/listener/StreamListener.java?view=
markup&pathrev=1548014

the code will be:
private static final Logger log =
Red5LoggerFactory.getLogger(StreamListener.class, webAppRootKey);

webAppRootKey will be set to the current context (openmeetings by default)


On Fri, Feb 7, 2014 at 9:34 PM, Rene' Rosenbaum <[email protected]> wrote:

  Hi all,
may someone tell me how I get any events logged in the openmeetings.log
or
red5.log?
I tried "LoggerFactory.getLogger(*.class);", but this didn't do the job.
Any suggestions?
best regards,
Rene'
--

~~~~~~~
*Dr.-Ing. Rene' Rosenbaum
meeCoda^IT  *  - Consulting and Services
   ~: Neue Reihe 15, 18182 Goorstorf, Germany
   #: ++49-(0)-1781408041
   @:[email protected]  <mailto:[email protected]>
//:www.meecoda.de  <http://www.meecoda.de>
~~~~~~~~~~~~~~ +++ ~~~~~~~~~~~~~~~~





Reply via email to