forked from apache/storm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove log4j references. change logging policy, 1GB max logs.
- Loading branch information
Jason Jackson
committed
Aug 15, 2012
1 parent
78ff4a5
commit 5b3bec2
Showing
5 changed files
with
47 additions
and
27 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,36 @@ | ||
#!/bin/bash | ||
#!/bin/bash | ||
function quit { | ||
exit 1 | ||
} | ||
trap quit 1 2 3 15 #Ctrl+C exits. | ||
|
||
RELEASE=`head -1 project.clj | awk '{print $3}' | sed -e 's/\"//' | sed -e 's/\"//'` | ||
|
||
rm -rf classes | ||
rm *jar | ||
rm *xml | ||
rm -f *jar | ||
rm -f *xml | ||
lein jar | ||
lein pom | ||
scp storm*jar pom.xml [email protected]: | ||
|
||
rm *jar | ||
rm -rf classes | ||
rm conf/log4j.properties | ||
rm conf/logback.xml | ||
lein jar | ||
|
||
cp project.clj orig-project.clj | ||
sed -i '' -e 's/\[.*logback[^]]*\]//g' project.clj | ||
sed -i '' -e 's/\[.*log4j-over-slf4j[^]]*\]//g' project.clj | ||
|
||
lein pom | ||
mv orig-project.clj project.clj | ||
|
||
mv pom.xml old-pom.xml | ||
sed 's/artifactId\>storm/artifactId\>storm-lib/g' old-pom.xml > pom.xml | ||
mv storm-$RELEASE.jar storm-lib-$RELEASE.jar | ||
scp storm*jar pom.xml [email protected]: | ||
rm *xml | ||
rm *jar | ||
git checkout conf/log4j.properties | ||
git checkout conf/logback.xml | ||
|
||
|
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
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
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