> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Attardi, Joseph (BL60:9D30) > Sent: Monday, November 17, 2008 2:12 PM > To: [EMAIL PROTECTED] > Subject: Re: [sipX-dev] Proposal for XECS-1857 and XECS-1795 > (display status messages) > > Carolyn Beeton wrote: > > > stderr.msg-18: java.io.FileNotFoundException: > /sipxconfig-logins.log > > (Permission denied) > > stderr.msg-19: at > java.io.FileOutputStream.openAppend(Native Method) > I don't know if I like showing the Java exception class name > - others may disagree here - maybe at least we should map the > exception name/message to a more user friendly message.
I have no control over this output. It comes from the child process itself; in this case it comes from Java itself. As someone said on the devlist earlier - it is better to display this kind of stuff in English than not to display it at all... it would not be practical to try to translate stdout/stderr (we don't even own some of the child processes: e.g. freeswitch). > > > (I have limited the maximum number of messages to 100, as some > > processes might be very wordy. To show this, I have added an index > > number. What do people think about a limit?) > A limit is good, I think - but is it possible to have a way > to indicate that the list of errors was truncated? Possibly > even to have a way to retrieve the additional errors if > desired? Or do you think this is not necessary? I put the index numbers on to highlight that some messages might be missing. All stderr messages will be logged in sipxsupervisor.log (stdout messages are only logged if the level is INFO or higher (lower?)). I could return them all; or use a very high limit, and let sipxconfig display them in a friendly fashion (best to show the last page first, if we get to more than one page...). Maybe the best compromise is to use a largish number for the limit (e.g. 500 or even more). > > > Please let me know if this sounds like a good direction to > proceed in. > From my perspective, as a consumer of this information, I love it. > > Joe Thanks for the feedback. I will continue in this direction then. Carolyn _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
