Commit Graph

79 Commits

Author SHA1 Message Date
Łukasz Domeradzki
e18c8ffa55 Rewrite IPC from HttpListener to KestrelHttpServer (#898)
* Debug tests

* Update

* Add support for IPCPassword

* Misc

* Misc

* Update

* Misc

* Cut dependencies to bare minimum

* Update

* Update

* Update

* Update

* Add support for websockets

* Cleanup and preparation for merge

* Add missing mapping of / -> index.html

* Add support for custom path + misc

* Misc

* Declare latest compatibility version

* Fix harmless error on /Api/Log websocket disconnect
2018-09-08 00:05:23 +02:00
JustArchi
16d002f99b Misc code cleanup 2018-07-27 04:52:14 +02:00
JustArchi
ae05e0ffab Extra misc fixes 2018-07-24 20:43:00 +02:00
JustArchi
eb656f26f3 Fix HistoryTarget when using custom NLog configuration 2018-07-24 20:37:14 +02:00
JustArchi
7f80728d18 Misc 2018-05-17 09:55:38 +02:00
JustArchi
0d66480562 Misc logging improvements 2018-05-17 09:54:22 +02:00
JustArchi
e65a89db85 Misc 2018-01-31 21:52:50 +01:00
JustArchi
9e886176cb Huge /Api/Log update for #733 2018-01-31 02:42:23 +01:00
JustArchi
6bbff6ab4e Happy new year 2018-01-01 02:56:53 +01:00
JustArchi
d5f44f8f6c ReSharper: update header 2017-11-18 17:27:06 +01:00
JustArchi
a42ec697b0 Implement basic HttpListener IPC as WCF alternative 2017-06-26 08:42:00 +02:00
JustArchi
0ecf6da44e Initial .NET Core 2.0 port 2017-06-26 03:36:51 +02:00
JustArchi
cca631044a Misc 2017-06-26 01:39:22 +02:00
JustArchi
a7fd20e587 Improve debugging experience 2017-06-26 01:37:14 +02:00
JustArchi
fc4574d143 Closes #445
Review https://github.com/JustArchi/ArchiSteamFarm/wiki/Logging for examples once I'm done updating the wiki
2017-01-31 01:10:01 +01:00
JustArchi
ba8d70aebb Copyright update 2017-01-02 20:05:21 +01:00
JustArchi
30c69cf57c Move main ArchiLogger from ASF to Program
It makes more sense to put it in ASF class due to sharing potential, but I want to unify ArchiBoT logging and this makes it easier for maintenance
2016-12-23 18:49:52 +01:00
JustArchi
137a53ef89 Improve readability of some specific segments 2016-11-24 07:46:37 +01:00
JustArchi
df218074ad Gigantic code cleanup
Time to enforce some common file layout, as general mess started to annoying me. Sorry in advance for people using custom forks and having merge conflicts, this will help everybody in long-run
2016-11-24 07:32:16 +01:00
JustArchi
c3cc743b03 Closes #359 2016-11-13 15:35:34 +01:00
JustArchi
1ff4e8f60d Closes #354 2016-11-06 12:19:43 +01:00
JustArchi
8b3b822938 Rewrite entire ASF logging, as preparation for #354 2016-11-06 12:06:02 +01:00
JustArchi
770fe6c333 Fix non-interactive stdout redirects 2016-11-05 19:31:10 +01:00
JustArchi
abff9bd28d Code review 2016-09-21 19:26:20 +02:00
JustArchi
d3470624bc Log processID too 2016-09-21 15:22:42 +02:00
JustArchi
bed87c4c80 Integrate DebugListener with Logger 2016-08-31 13:56:09 +02:00
JustArchi
e675a3a488 Enhance startup sequence a bit 2016-08-06 22:16:46 +02:00
JustArchi
7025659151 Refactoring for upcoming GUI app 2016-08-02 06:04:44 +02:00
JustArchi
8998bf4832 Add extra support for fatal exceptions 2016-07-25 00:10:06 +02:00
JustArchi
23af6efb4b Misc
We expect this to be refilled with nearly the same amount of entries, so trimming is not really needed
2016-07-08 06:48:38 +02:00
JustArchi
412028eff7 Misc 2016-07-08 00:02:04 +02:00
JustArchi
a5c85a73bc And when being invoked during waiting too 2016-07-07 23:36:35 +02:00
JustArchi
b40e87b25e Make ASF work with NLog autoReload=true 2016-07-07 23:27:34 +02:00
JustArchi
bdc3d07720 Remove LogToFile
Logging to file is now always enabled (unless running as a service). For advanced logging configuration https://github.com/JustArchi/ArchiSteamFarm/wiki/Logging is available
2016-07-07 22:35:22 +02:00
Justin Gerhardt
e21eebd57e moved default event log to its own log 2016-07-05 04:35:10 -04:00
JustArchi
aa0eb065b6 Tweak EventLog layout, #274 2016-07-05 09:39:52 +02:00
JustArchi
5b0d12347f Closes #281
It's really weird that NLog doesn't make needed refresh on each addition/removal by itself
2016-07-05 09:17:25 +02:00
JustArchi
69d6d6e10b Use ASF instead of Main for global logging routines, closes #280 2016-07-04 22:46:08 +02:00
JustArchi
38eb130217 Add support for logging/catching also very early messages 2016-07-04 22:30:29 +02:00
JustArchi
c00943bb74 Initialize console loggers only once 2016-07-04 22:03:12 +02:00
JustArchi
e134d6f6b6 So happy to fix this 2016-07-04 21:58:50 +02:00
JustArchi
79b1019ec3 Allow overriding default ASF NLog settings, #279 2016-07-04 21:40:09 +02:00
JustArchi
4b0e65b76b Treat timeouts as warnings 2016-07-04 20:57:33 +02:00
JustArchi
58cc203577 Use fatal level for unhandled exceptions 2016-07-04 19:33:54 +02:00
JustArchi
6128d87cbf Always delete old log file 2016-07-04 19:25:01 +02:00
JustArchi
6ada40fc2f Implement NLog for ASF logging, closes #274, #279 2016-07-04 19:22:46 +02:00
JustArchi
687de60476 Final performance improvements of new ASF 2FA 2016-06-20 06:51:42 +02:00
JustArchi
e181eb354b Revert "Closes #253"
This reverts commit 4e5ddefac9.

I didn't like the new format.
2016-06-20 06:32:40 +02:00
JustArchi
4e5ddefac9 Closes #253 2016-06-19 22:25:53 +02:00
JustArchi
3a5edab651 Code review 2016-06-19 12:20:12 +02:00