gitea/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
customizing-gitea.zh-cn.md
environment-variables.en-us.md Update docs and comments to remove macaron (#14491) 2021-01-29 16:35:30 +01:00
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 ZH-CN translation of Advanced part (#5090) 2018-10-17 14:21:20 +03:00
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
make.fr-fr.md
make.zh-cn.md
repo-indexer.en-us.md
search-engines-indexation.en-us.md
signing.en-us.md
third-party-tools.zh-cn.md