forgejo/docs/content/doc/advanced
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
..
adding-legal-pages.en-us.md
clone-filter.en-us.md
cmd-embedded.en-us.md
config-cheat-sheet.en-us.md add a new internal hook to save ssh log (#15787) 2021-05-21 17:37:16 -04:00
config-cheat-sheet.zh-cn.md add note about `cron.SCHEDULE` format in document (#15812) 2021-05-10 12:54:45 -04:00
customizing-gitea.en-us.md Improve logo customization docs (#15754) 2021-05-07 02:32:29 -04:00
customizing-gitea.zh-cn.md
environment-variables.en-us.md
environment-variables.zh-cn.md
external-renderers.en-us.md Use a generic markup class to display externally rendered files and diffs (#15735) 2021-05-07 10:43:41 +02:00
hacking-on-gitea.zh-cn.md
logging-documentation.en-us.md Add information on how to rotate logging from outside container (#15852) 2021-05-14 00:36:23 -04:00
mail-templates-us.md Fix documentation for the fallback mail subject (#15223) 2021-03-31 11:36:21 -04:00
make.fr-fr.md
make.zh-cn.md
repo-indexer.en-us.md
search-engines-indexation.en-us.md
signing.en-us.md Specify relation between multiple signing options (#15496) 2021-04-15 18:06:32 +02:00
third-party-tools.zh-cn.md