Skip to content

Commit

Permalink
[backend] remove spurious '-' from printlog format
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Sep 1, 2016
1 parent 982b794 commit 200cccb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/backend/BSUtil.pm
Expand Up @@ -756,14 +756,13 @@ sub isotime {
BSUtil::printlog($message);
FORMAT: "YYYY-MM-DD hh:mm:ss [$pid] - $message"
FORMAT: "YYYY-MM-DD hh:mm:ss [$pid] $message"
=cut

sub printlog {
my ($msg) = @_;
my $tim = isotime(time);
printf "%s: %-7s - %s\n", $tim, "[$$]", $msg;
printf "%s: %-7s %s\n", isotime(time), "[$$]", $msg;
}

1;

0 comments on commit 200cccb

Please sign in to comment.