Skip to content

Instantly share code, notes, and snippets.

View slaskawi's full-sized avatar

Sebastian Łaskawiec slaskawi

  • MongoDB
  • Poland
View GitHub Profile
@Tset-Noitamotua
Tset-Noitamotua / .vimrc
Last active March 13, 2024 08:44
Powerline Setup for my VIM
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
" "
" __ _ _ _ __ ___ _ __ ___ "
" \ \ / / | '_ ` _ \| '__/ __| "
" \ V /| | | | | | | | | (__ "
" \_/ |_|_| |_| |_|_| \___| "
" "
" "
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
@mcupak
mcupak / enable-access-log.cli
Last active March 10, 2020 15:56
Enabling access log with Undertow on WildFly - https://mirocupak.com/logging-requests-with-undertow/
# Script for enabling access log based on Undertow on WildFly.
# Run with: $WILDFLY_HOME/bin/jboss-cli.sh --connect --file=enable-access-log.cli
batch
/subsystem=undertow/server=default-server/host=default-host/setting=access-log:add(pattern="%h %t \"%r\" %s \"%{i,User-Agent}\"",use-server-log=true)
run-batch