9front - general discussion about 9front
 help / color / mirror / Atom feed
* listen: where does stderr go?
@ 2020-03-15 15:53 Ethan Gardener
  2020-03-15 16:03 ` [9front] " Rodrigo G. López
  0 siblings, 1 reply; 4+ messages in thread
From: Ethan Gardener @ 2020-03-15 15:53 UTC (permalink / raw)
  To: 9front

i'm setting up rc-httpd again. formerly, listen merged stderr & stdout into the output stream. this was useful for initial debugging. now, stderr is not present in the output stream. is it redirected to a file?


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9front] listen: where does stderr go?
  2020-03-15 15:53 listen: where does stderr go? Ethan Gardener
@ 2020-03-15 16:03 ` Rodrigo G. López
  2020-03-15 16:10   ` Ethan Gardener
  0 siblings, 1 reply; 4+ messages in thread
From: Rodrigo G. López @ 2020-03-15 16:03 UTC (permalink / raw)
  To: 9front

/sys/log/www.

read /rc/bin/service/tcp80


-rodri

On March 15, 2020 3:53:17 PM UTC, Ethan Gardener <eekee57@fastmail.fm> wrote:
>i'm setting up rc-httpd again. formerly, listen merged stderr & stdout
>into the output stream. this was useful for initial debugging. now,
>stderr is not present in the output stream. is it redirected to a file?


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9front] listen: where does stderr go?
  2020-03-15 16:03 ` [9front] " Rodrigo G. López
@ 2020-03-15 16:10   ` Ethan Gardener
  2020-03-15 17:23     ` Ethan Gardener
  0 siblings, 1 reply; 4+ messages in thread
From: Ethan Gardener @ 2020-03-15 16:10 UTC (permalink / raw)
  To: 9front

On Sun, Mar 15, 2020, at 4:03 PM, Rodrigo G. López wrote:
> /sys/log/www.
> 
> read /rc/bin/service/tcp80

i'm not using that script. stderr from my tcp80 script goes nowhere, which made it difficult to find why it wasn't starting rc-httpd. i now think it's permissions on the file my script redirects to.

by the way, does rc have no way to redirect output or the current process? in bash, you can `exec >foo`, but if rc supports this, it's undocumented.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9front] listen: where does stderr go?
  2020-03-15 16:10   ` Ethan Gardener
@ 2020-03-15 17:23     ` Ethan Gardener
  0 siblings, 0 replies; 4+ messages in thread
From: Ethan Gardener @ 2020-03-15 17:23 UTC (permalink / raw)
  To: 9front

derp. it ends up on kprint which i have displayed on the physical console only.

On Sun, Mar 15, 2020, at 4:10 PM, Ethan Gardener wrote:
> i now 
> think it's permissions on the file my script redirects to.

i was right about that.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-03-15 17:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-15 15:53 listen: where does stderr go? Ethan Gardener
2020-03-15 16:03 ` [9front] " Rodrigo G. López
2020-03-15 16:10   ` Ethan Gardener
2020-03-15 17:23     ` Ethan Gardener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).