S
S
Satisfied IT2015-01-03 14:15:03
linux
Satisfied IT, 2015-01-03 14:15:03

ASP.NET 5 + Ubuntu how to make dnx (Kestrel server) write error log to file?

There is a server on Ubuntu, as an experiment for hosting asp.net 5 applications, the Kestrel server is running on it, everything is working fine so far, but I would like to see the error log, the process itself writes a general log to the screen, Google did not help, about the output of the log to a file didn't get a word. The server is started with the following command
screen -A -m -d -S domino su - root -c "cd /wwwroot/asp && /root/.dnx/runtimes/dnx-coreclr-linux-x64.1.0.0-rc1-update1 /bin/dnx --project /wwwroot/asp web"
Yes, it's dangerous to work as root, but so far it's the only way. How to redirect either everything that is entered on the screen to a file or only error messages? Does anyone have experience with Kestrel? I'm still a beginner in Linux, but it's cheaper with it)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MrDywar Pichugin, 2015-01-03
specialist @borisdenis

I/O Redirection

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question