Permalink
Browse files

create log directory as part of jetpack deploy and do not use jetty.l…

…ogs property for jetty_stderr log
  • Loading branch information...
1 parent ea2539b commit 36653c192f8a5bb88994f619daa746e479a9b3b1 Chris Heisterkamp committed Mar 6, 2012
Showing with 4 additions and 2 deletions.
  1. +2 −1 .gitignore
  2. +1 −0 bin/jetpack
  3. +1 −1 jetty_files/etc/jetty.xml.erb
View
@@ -1,4 +1,5 @@
spec/local_mirror
pkg
+.rvmrc
.idea/*
-.DS_STORE
+.DS_STORE
View
@@ -159,6 +159,7 @@ if @settings.jetty?
web_inf_dir = File.join(@path_to_project, "WEB-INF")
mkdir_p web_inf_dir
+ FileUtils.mkdir_p(File.join(@path_to_project, "log"))
overlay_files File.join(@jetpack_dir, "web_inf_files"), web_inf_dir
end
@@ -108,7 +108,7 @@
<New id="ServerLog" class="java.io.PrintStream">
<Arg>
<New class="org.eclipse.jetty.util.RolloverFileOutputStream">
- <Arg><Property name="jetty.logs" default="./logs"/>../../log/jetty_stderr_yyyy_mm_dd.log</Arg>
+ <Arg>../../log/jetty_stderr_yyyy_mm_dd.log</Arg>
<Arg type="boolean">false</Arg>
<Arg type="int">30</Arg>
<Arg><Call class="java.util.TimeZone" name="getTimeZone"><Arg>GMT</Arg></Call></Arg>

0 comments on commit 36653c1

Please sign in to comment.