Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FW: SOLUTION -- Where does output from kill -QUIT go for Monitor-apps?



I know this is more WebObjects-related, but it had confounded enough people
on the various WO lists, and I asked the question here too, that I figure I
should post the answer.

--
"Off to the movies we shall go, where we learn everything that we know
'Cause the movies teach us what our parents don't have time to say..."
All the little children from South Park


------ Forwarded Message
From: MacFirst <email@hidden>
Date: Wed, 31 Mar 2004 16:02:42 -0800
To: "WO-Dev (Omni)" <email@hidden>
Subject: Re: SOLUTION -- Where does output from kill -QUIT go for
Monitor-apps?

on 3/31/04 3:07 PM, MacFirst <email@hidden> went on and on saying,
in part:

>> Take a look at the SpawnOfWotasd.sh in
>> /System/Library/WebObjects/JavaApplications/wotaksd.woa
>> I think you will find it is sending to dev/null
>
> I assume you mean what is held in the variable SCRIPT_NAME (xxx.sh), in
> /System/Library/WebObjects/JavaApplications/wotaksd.woa/wotaskd, right? The
> script contains a great deal of indirection, and I can't seem to find the
> part where it redirects output to dev/null. Is this something that it's ok
> to change? Can you offer a bit more guidance as to what needs changing?

Aha! Ok, got it. Actually, my [brilliant] SysAdmin got it, but I'll report
the answer, anyway, he says:

In file:
/System/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/
Resources/SpawnOfWotaskd.sh

I changed the line: "$@ 1>/dev/null 2>&1 &"

To: "$@ 1>/Users/myName/wolog/logFileName.log 2>&1 &"

It's the only line in the file so it's pretty easy

Thanks, all!

_______________________________________________
WebObjects-dev mailing list
email@hidden
http://www.omnigroup.com/mailman/listinfo/webobjects-dev

------ End of Forwarded Message
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Do not post admin requests to the list. They will be ignored.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.