melog is used to submit full Elog entry to the specified Elog port.
[-h ] : help [-h hostname ] : host name [-l exptname or logbook ] [-u username password ] [-f <attachment> ] : up to 10 files. -a <attribute>=<value> : up to 20 attributes.The attribute "Author=..." must be present for submission of Elog. -m <textfile> | text> Message. Arguments with blanks must be enclosed in quotes. The elog message can either be submitted on the command line or in a file with the -m flag. Multiple attributes and attachments can be supplied.
By default the attributes are "Author", "Type", "System" and "Subject". The "Author" attribute has to be present in the elog command in order to successfully submit the message. If multiple attributes are required append before "text" field the full specification of the attribute. In case of multiple attachments, only one "-f" is required followed by up to 10 file names.
>melog -h myhost -p 8081 -l myexpt -a author=pierre "Just a elog message" >melog -h myhost -p 8081 -l myexpt -a author=pierre -f file2attach.txt \ "Just this message with an attachment" >melog -h myhost -p 8081 -l myexpt -a author=pierre -m file_containing_the_message.txt >melog -h myhost -p 8081 -l myexpt -a Author=pierre -a Type=routine -a system=general \ -a Subject="my test" "A full Elog message"