Created
April 26, 2013 13:14
-
-
Save ka2n/5467305 to your computer and use it in GitHub Desktop.
tmuxを起動した時にアプリケーションの最新のログ(これはFuelPHP)とapacheのログをtailしておく
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new-window -d -n log -t :2 | |
split-window -t log -h | |
split-window -t log -v -t server.0 | |
split-window -t log -v -t server.1 | |
send-keys -t server.1 'tail -f `find ./workspace/proj/app/logs/ -type f -print | tail -1`' C-m | |
send-keys -t server.3 'tail -f /var/log/apache2/error_log' C-m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment