Merge lp:~lynxman/ubuntu/oneiric/rabbitmq-server/lp_838959 into lp:ubuntu/oneiric/rabbitmq-server

Proposed by Marc Cluet
Status: Merged
Merged at revision: 24
Proposed branch: lp:~lynxman/ubuntu/oneiric/rabbitmq-server/lp_838959
Merge into: lp:ubuntu/oneiric/rabbitmq-server
Diff against target: 42 lines (+12/-0)
2 files modified
debian/changelog (+8/-0)
debian/rabbitmq-server.init (+4/-0)
To merge this branch: bzr merge lp:~lynxman/ubuntu/oneiric/rabbitmq-server/lp_838959
Reviewer Review Type Date Requested Status
Jamie Strandboge Approve
Ubuntu branches Pending
Review via email: mp+75373@code.launchpad.net

Description of the change

  * Added explicit log line in startup_* and shutdown_* (LP: #838959)
    - Added a log line with a timestamp to indicate either the success or
      failure on startup/shutdown

To post a comment you must log in.
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

This looks fine to me, but you should use 'submittodebian' so they can incorporate it as well. Preparing the upload now.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2011-06-19 18:18:49 +0000
3+++ debian/changelog 2011-09-14 16:00:28 +0000
4@@ -1,3 +1,11 @@
5+rabbitmq-server (2.5.0-1ubuntu2) oneiric; urgency=low
6+
7+ * Added explicit log line in startup_* and shutdown_* (LP: #838959)
8+ - Added a log line with a timestamp to indicate either the success or
9+ failure on startup/shutdown
10+
11+ -- Marc Cluet <marc.cluet@ubuntu.com> Wed, 14 Sep 2011 17:56:32 +0200
12+
13 rabbitmq-server (2.5.0-1ubuntu1) oneiric; urgency=low
14
15 * Merge from Debian Unstable. Remaining changes:
16
17=== modified file 'debian/rabbitmq-server.init' (properties changed: -x to +x)
18--- debian/rabbitmq-server.init 2011-06-16 09:55:40 +0000
19+++ debian/rabbitmq-server.init 2011-09-14 16:00:28 +0000
20@@ -51,9 +51,11 @@
21 if [ -n "$LOCK_FILE" ] ; then
22 touch $LOCK_FILE
23 fi
24+ echo "`date` - rabbitmq successfully started" >> ${INIT_LOG_DIR}/startup_log
25 ;;
26 *)
27 echo FAILED - check ${INIT_LOG_DIR}/startup_\{log, _err\}
28+ echo "`date` - rabbitmq failed to start" >> ${INIT_LOG_DIR}/startup_err
29 RETVAL=1
30 ;;
31 esac
32@@ -71,8 +73,10 @@
33 if [ -n "$LOCK_FILE" ] ; then
34 rm -f $LOCK_FILE
35 fi
36+ echo "`date` - rabbitmq successfully stopped" >> ${INIT_LOG_DIR}/shutdown_log
37 else
38 echo FAILED - check ${INIT_LOG_DIR}/shutdown_log, _err
39+ echo "`date` - rabbitmq failed to stop" >> ${INIT_LOG_DIR}/shutdown_err
40 fi
41 else
42 echo RabbitMQ is not running

Subscribers

People subscribed via source and target branches

to all changes: