Hi Trustin,<div>Thats great to hear - netty keeps on getting better.</div><div><br></div><div>Is is possible to have a '-' delimiter between the name parts?</div><div><br></div><div>Regards,</div><div>Neil.<br><br>
<div class="gmail_quote">On Wed, Aug 25, 2010 at 3:34 AM, "이희승 (Trustin Lee)" <span dir="ltr"><<a href="mailto:trustin@gmail.com">trustin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
<br>
On 07/14/2010 04:46 PM, Galder Zamarreño wrote:<br>
><br>
> On Jul 2, 2010, at 9:59 AM, 이희승 (Trustin Lee) wrote:<br>
><br>
>> Service: New I/O, Old I/O, ...<br>
>> Category: server boss, server worker, client boss, client worker, ...<br>
>> Comment: local address, remote address, channel ID, ... (depending on<br>
>> transport)<br>
>><br>
>> It might be a better idea to limit the allowed characters for service,<br>
>> category, and thread ID (no whitespace for example.)<br>
><br>
> That's definitely a good idea. Think about grep. Quite often I grep by thread name and if it contains spaces, you have to start putting double quotes.<br>
<br>
netty-trunk now allows only [a-zA-Z0-9]* for service/category names.<br>
<br>
Thread ID has been split into parentId and id and each allows only<br>
[a-zA-Z0-9]* likewise. The resulting default thread name looks like this:<br>
<br>
"NewIO ServerBoss #1 ([id: 0x00785d65, /0:0:0:0:0:0:0:0:8080])"<br>
"NewIO ServerWorker #1:1"<br>
<br>
There's no restriction on comments - I thought it will be too much since<br>
it's for human primarily.<br>
<br>
Please feel free to let me know if you have more nice ideas.<br>
<br>
Cheers,<br>
Trustin<br>
<font color="#888888"><br>
--<br>
what we call human nature in actuality is human habit<br>
<a href="http://gleamynode.net/" target="_blank">http://gleamynode.net/</a><br>
_______________________________________________<br>
netty-users mailing list<br>
<a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a></font></blockquote></div><br><br clear="all"><br>-- <br><br><a href="http://www.liquidlabs.co.uk">www.liquidlabs.co.uk</a><br>
</div>