Projects / emlog

emlog

emlog is a Linux kernel module that makes it easy to access the most recent (and only the most recent) output from a process. It works just like "tail -f" on a log file, except that the storage required never grows. This can be useful in embedded systems where there isn't enough memory or disk space for keeping complete log files, but the most recent debugging messages are sometimes needed.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  14 Aug 2001 02:27

    Release Notes: Correct support for concurrent readers and writers, allocation of emlog's ring buffers using vmalloc instead of kmalloc to avoid locking large blocks of contiguous physical memory, and more.

    •  01 Mar 2001 10:31

      Release Notes: This release now compiles correctly with 2.3 and 2.4 series kernels, and select() and poll() now work for emlog devices.

      •  15 Jun 2000 09:11

        Release Notes: Initial freshmeat announcement

        Recent comments

        22 Jan 2007 10:36 aterjung

        Re: 3rd Party Patch - 0.41 (Works on Linux 2.6 Kernels)
        sorry, this didn't worked.

        please find the patch at


        http://wiki.debianforum.de/DebianAufWrap?highlight=%28wrap%29

        22 Jan 2007 10:26 aterjung

        Re: 3rd Party Patch - 0.41 (Works on Linux 2.6 Kernels)
        I have modified the patch for Kernel 2.6 to compile
        with newer 2.6 kernels. I have compiled it sussfull
        with an 2.6.19.
        Save the uuencoded block to a file and uudecode
        it.

        begin 644 emlog-0.40-0.41-2.6.19.patch.bz2
        M0EIH.3%!62936?,
        $;^T`!OA_@&XP!21]________T+____M@"F^R;UJ:=NNB
        M`=

        21 Feb 2005 20:21 kindlund

        3rd Party Patch - 0.41 (Works on Linux 2.6 Kernels)
        Tried contacting the author; sent patch to him directly. I thought I'd share with everyone else, in case they need emlog for v2.6 kernels. By default, 0.40 compilation fails for v2.6 kernels. Here's a patch file to bump you to 0.41, which includes everything needed to get it to work on v2.6 kernels. (Tested on v2.6.10)

        Save all encoded text below as "emlog-0.40-0.41.patch.uue", then extract the UUEncoded text (via WinZip, etc.). You'll end up a gzipped patch file.

        _=_

        _=_ Part 001 of 001 of file emlog-0.40-0.41.patch.gz

        _=_

        begin 666 emlog-0.40-0.41.patch.gz

        M'XL("!.D&D("`V5M;&]G+3`N-#`M,"XT,2YP871C:`#M&-ERXL;VV?J*$\]4

        MXK'0QF;`8Y<]-I,A\19C[MRZ+RHA-4AC+:0E@4DJ^?:<TRU`;+/5?;@/5V4C

        MNL]^^FST@Y.Y/HR"D,$HX9!/QMSQ@G@,IEXW(4OH;764=_,.7#L\8#'\&L1>

        MF,<>O'U>?',RB(*,,SWAXW-%>?*#%"8KQJX3PY!!GC*/.(Y9!BP*DS',$OY,

        MLI(8'+@)XOP%IE6]"<^,QRS4E2>69DB#X!50MTQ=N1QEC$L12%^!E#%X[%Y>

        MWW8U@:D1%[(G2CB#(!XENJ)\2&8D7E!U%`VZ+QEWW$(7C>S5,X?KXS^0`/$<

        MB-D,O(`S-TOX7$>*JV0RAVS#.H&<^:S$9YWJ:3YAG8)"FUCPMH1)'Y8N8(KB

        M!:,1:'=.SDL8QJWSS$A0R;(EU-H!531-^SS]@=4^0<D6_H%I=L2?;BX>4.E3

        M457U\W(.JJ;9T,RJ5JV"6>N8U8YIZ2VSV6J8M6:KX')Q`9I909X67%PH:C+\

        MI$6@GDG.>K+'Y*VC+"FR"=LT=Q/^/<9N\5@WU:IWJDW=/$'&M6:[N65JQ6H)

        M:[NW-QCD5XG'X"'A&06?B.`7^%4$N**>?>%1U'L>C(/8">$RS_R$=^`7QEDT

        MAVZ88EH<?6+TOG`#[H8LRCW*P#>*>IN@8P-,G5UY>[3(VXMETKX!15747IQF

        M3A@Z68"L:<%SE[ZG'475]CY$2=$!:8ZY-D]R\)TIP_1Q*5N2D<B-4.1OFN3<

        MQ421B2>K@9&GW$BY:P@475%%NA#3:`H[8G^QI:BN'R4>J"\0X9:>^HJJ&\NO

        MBOK('$_(CIP@+JJ#J`F^K`.!M%:B)%X>,A3^/@E#`B_()CSYA)F,V3MFZP6%

        M1\)/2#-XO.F`GV63CF',9C-][3",O^41&6DRRF8.9X:(,V-/Y,N\<,O!6&QM

        MQGFQ3:&)L=W2K!I4K4ZUW:E^,;Q+I.4$/J',J#7->K-6JYJEJ*Y5+%SB9YW"

        M&N"8_M<#\>VN0#P7>(/^E=%;.0SZ+D:CRU(184&69WB4B"8^RG$K-KZVYQ"N

        MMB)?EF,,0LP^/&T*#`@R7$=8;8,A%NY9D/E%8UDUG51?&BC:F*#'-V<A<ZB!

        MH6QL/23@YX<;@:LM</%/"ITRGI*I=%"5%2D>T64^SM,,Z-"$SGOIK+UT%8I6

        M:6;5@O=LR'.'SPG4$&J_WQ&EHD%^8X@N_?"ZYW6*@NU6IF#I)T(/PVP9I:`#

        MR02[Z@1>B["Q6A4+BV.UN@@<!5X%L1OFZ-&W(ML--XE'P5CWS[=!:>9Y;$0@

        M;1.4_9ZSG.T$I:[/O)W\BIE"$HV0-=S>7P]NNMN813$0F"Q&5ROJ7C%;$!II

        MENIML<Z"B/&=$(^%SGPGA'$>)SN-C;!\)>Y.-=+0&>[D-ET1;6N'E3?="1F)

        M;5$+VA4\4PS/$W&D2\1#&2#^(1VS]*S]</EX>R3V;8\-<YS3#H/#-Z?8+B3\

        MIG?5O>MWCPXQD[`S$@B)9=N1`6=3#,/QZKL=!I@&9W`WN+DY)5P,;Y=&,"C)

        M.16:-IJHH]IH%YK2PUF6\WA!3'M4TH^8D'(&&V).00)^*,3!$H_>VGF,?>P-

        M9C\^P:C@HIT'R`"1SE`I+!V+]8\_PA+NL>D:'-?8LK^9#=_DPP4C@+*I`KNP

        M=<UZ\E`+)Y4:J*UZI5WD)T#$HI1E4HL*8/5*@S]8,CK:.I4W=%H`Z^JN:7M*

        MOEFW>LWH4S)ZPYQU:TAQRE;`=`UBYAU==Z]N+A^[]L?+WI/]VZ`[Z-H?L+$+

        MJX,XR.R9$\CJ8/O8_H]P`KO_V:;>_YLTB;3&K`Y31LJMD^S%%C5`>,<XQIE_

        M3'-.DF=BD(ARG.IQR'%@F(]&HC-@.4_])`\]^M'C4*NBC',R)KI&@79LE+Q'

        M/D;;+;-:QWH;H0^X/"'KI$%!;)W4EU'\E]2DH.1LY"9YG*FJ\#8FEMV[N[('

        M_:Y]=3^X>Q(^SOC<ED7-QM]>1T\?>GU;IJ`\PR(P3%P0=Q)<-2G#5:SSI?09

        M<<9L(;APCPPL=$5G(1P/:$-X(7B2[Q>,KZD3EJ376NV*9>'(T6K16\;F,MN+

        M4*0AT$XFC(L.5[10>Y1,4G3EGZ00IPD0H&A>-BTKM#_C`1[&<E\L!0"YQ24"

        M6E8D(]&)5XS$4H`F.#"62&A94=0#G80=')RMB<9M(6NU7XA&`,E:[4O)@HT0

        M56)4B$88R5J12,GPESB3STZ7_O8LZ.^>+OWOGR[]S>FRV;%.]$:[UF[66U;Y

        M-Q-5'[5.E4@.E__-P9)&F/^9N5+]_URY;Z[TQ5S9_,JYLE&AGR=6>S%7OI+M

        M`63]OKW\Y?[1OAO<ONL^8F96Z]8VQK_M?N\_W:)56M46%?;(>1'-#NV#YR!,

        MAO,,8ZE<VJEF8S]8X_6O[F._=W]7L()#.II#G,>^A&2)0<DXWO/``P^FU#*N

        MB4\@*]SQYQYC]^R$A?#K6RBU0GO5/NU,E%#[]W+/+$2L4.&XA"1:I4:\\C@-

        MQB@0PB0>@QP(#@[0SSWJ\!#GT1!=*JX'EG&Z\C,*>L8!`#60H\*!(+UFT\#]

        M(BTVG04I_U9:5-SU'?SJ.9E34#YA3E)@YR$""E0"%_@T?%+<%-A]"J'BUJ-`

        MGB2((V\[AG/XB6A_*A$O>GC!X#WVM13)L1")BQ2A9\%)-*CC?9<'Q>5'N1@O

        M[D,VRGNQ_3UW8PO2C?+>[M0;>JM:JYEMJU[?OA)KB!NQ5S\8PR`VA@Y=T8C2

        MJ5UMW`!!?_#NNO?8/WO]\/$:L)HX,2@JCT`;03S$,>KK".78D2KJV'5!NZ^"

        5]I$N>[1$,I&?NJO\`]`M>UD`%P``

        `

        end

        Screenshot

        Project Spotlight

        OpenStack4j

        A Fluent OpenStack client API for Java.

        Screenshot

        Project Spotlight

        TurnKey TWiki Appliance

        A TWiki appliance that is easy to use and lightweight.