or you can get this simple script and save it as /bin/log (chmod a+x) so that you can log from terminal:<br><br><br>#!/bin/sh<br><br>project="project name"<br><br>if [ "$project" = "" ];then<br>
echo "Undefined project"<br> exit 0<br>fi<br>if [ "$1" = "" ]; then<br> echo "No message was logged"<br> exit 1<br>fi<br><br>echo "$project `whoami`: $*" | nc bots-labs 55252<br>
echo "`whomai` to SAL: $*" | wall<br>echo "Message logged"<br><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Dec 17, 2012 at 8:08 PM, Ryan Lane <span dir="ltr"><<a href="mailto:rlane@wikimedia.org" target="_blank">rlane@wikimedia.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><div class="gmail_extra"><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I don't remember creating the directory /data/project/repo.<br>
Is this part of a site-wide scheme, or can it be deleted<br>
without trouble?<br>
<br></blockquote><div><br></div></div><div>Well, it depends. This storage is per project, not site-wide. Someone else in the project in question may have added that.</div><div><br></div><div>It's recommended to use "!log <project> <stuff-I-just-did>" in the #wikimedia-labs channel so that people can know what other people are doing in a project. It shows up on the project page on labsconsole.</div>
<span class=""><font color="#888888">
<div><br></div><div>- Ryan</div></font></span></div></div>
<br>_______________________________________________<br>
Labs-l mailing list<br>
<a href="mailto:Labs-l@lists.wikimedia.org">Labs-l@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/labs-l" target="_blank">https://lists.wikimedia.org/mailman/listinfo/labs-l</a><br>
<br></blockquote></div><br></div>