<DIV>Hi everyone,</DIV>
<DIV> I developed a tool(using socket to send data) to simulator lots of simulation terminal,which send its fake data to server. I use this tool to perform performance test. log4erl is used to print log message to file. "Bad value on output port 'efile'" comes out ,I have no idea how to find the root cause for it. </DIV>
<DIV> I tried to get some help from search engine,but it helps little. While I find some posts about "<STRONG><FONT color=#404040 size=2 face=Arial>Bad value on output port</FONT></STRONG><SPAN style="TEXT-ALIGN: left; TEXT-TRANSFORM: none; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; LETTER-SPACING: normal; DISPLAY: inline !important; FONT: 13px/17px Arial, Helvetica, sans-serif; WHITE-SPACE: normal; FLOAT: none; COLOR: rgb(64,64,64); WORD-SPACING: 0px; -webkit-text-stroke-width: 0px"><SPAN class=Apple-converted-space> </SPAN>'</SPAN><STRONG style="TEXT-ALIGN: left; TEXT-TRANSFORM: none; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; LETTER-SPACING: normal; FONT: 700 13px/17px Arial, Helvetica, sans-serif; WHITE-SPACE: normal; COLOR: rgb(64,64,64); WORD-SPACING: 0px; -webkit-text-stroke-width: 0px">tcp</STRONG><SPAN style="TEXT-ALIGN: left; TEXT-TRANSFORM: none; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; LETTER-SPACING: normal; DISPLAY: inline !important; FONT: 13px/17px Arial, Helvetica, sans-serif; WHITE-SPACE: normal; FLOAT: none; COLOR: rgb(64,64,64); WORD-SPACING: 0px; -webkit-text-stroke-width: 0px">_</SPAN><STRONG style="TEXT-ALIGN: left; TEXT-TRANSFORM: none; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; LETTER-SPACING: normal; FONT: 700 13px/17px Arial, Helvetica, sans-serif; WHITE-SPACE: normal; COLOR: rgb(64,64,64); WORD-SPACING: 0px; -webkit-text-stroke-width: 0px">inet</STRONG><SPAN style="TEXT-ALIGN: left; TEXT-TRANSFORM: none; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; LETTER-SPACING: normal; DISPLAY: inline !important; FONT: 13px/17px Arial, Helvetica, sans-serif; WHITE-SPACE: normal; FLOAT: none; COLOR: rgb(64,64,64); WORD-SPACING: 0px; -webkit-text-stroke-width: 0px">'<SPAN class=Apple-converted-space> </SPAN></SPAN>", which is caused by bad argument in gen_tcp:send . </DIV>
<DIV> I guess efile has some thing to do with file operation ,like writing data to file etc. but I didn't operate with file directly. The only one module works with file is log4erl, for this module writes some log file. Another point you need pay attention to is that ,the error is random. </DIV>
<DIV> Any suggestion or help is appreciate.</DIV>
<DIV> </DIV>
<DIV>Best regards,</DIV>
<DIV>Eric Sun.</DIV>
<DIV> </DIV>