a1012112796 fec8324026
add a new internal hook to save ssh log (#15787)
* add a new internal hook to save ssh log

as title, when a ssh error ocure like #15785.
only when switch ``RUN_MODE`` to dev can we
found which error is ocure. But this way is
not a good idea for production envirment.

this changes try save ssh error mesage to the
log file like other log by a new internal hook.
I think it's usefull for find error message
in production envirment. Thanks.

Signed-off-by: a1012112796 <1012112796@qq.com>

* rename and fix nit

* Update modules/private/hook.go

Co-authored-by: silverwind <me@silverwind.io>

Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-05-21 17:37:16 -04:00
..
2021-04-01 19:41:09 +02:00
2021-05-13 08:50:57 +01:00
2021-04-19 18:25:08 -04:00
2021-04-19 18:25:08 -04:00
2021-05-10 20:48:23 +01:00
2021-03-16 00:20:05 +01:00
2021-04-17 10:27:25 +01:00
2020-10-02 23:37:53 -04:00
2021-04-12 10:49:26 -04:00
2021-04-25 21:48:12 +03:00
2021-04-21 18:31:59 +02:00
2018-11-04 22:20:00 -05:00
2021-05-03 13:24:24 -04:00
2021-04-19 18:25:08 -04:00
2019-06-12 15:41:28 -04:00
2020-04-05 07:20:50 +01:00
2021-01-26 16:36:53 +01:00