Here is the logged output when two clients ask to factor two integers near-simultanesouly. The client on the host 128.178.50.84 asks to factor the prime number 359. The client on the host 9.4.2.196 asks to factor the number 347 (also a prime).
The NDC is placed between parantheses in bold. The NDC information consists of the client's host and the number to factor. Since the two requests have distinct NDCs, their output can be easily separated.
0 INFO [main] () - NumberCruncherServer bound and ready to serve. 276493 INFO [RMI TCP Connection(7)-128.178.50.84] (128.178.50.84 359) - Beginning to factor. 276495 DEBUG [RMI TCP Connection(7)-128.178.50.84] (128.178.50.84 359) - Trying to see if 2 is a factor. 276699 DEBUG [RMI TCP Connection(7)-128.178.50.84] (128.178.50.84 359) - Trying to see if 3 is a factor. 276908 DEBUG [RMI TCP Connection(7)-128.178.50.84] (128.178.50.84 359) - Trying to see if 4 is a factor. 276983 INFO [RMI TCP Connection(8)-9.4.2.196] (9.4.2.196 347) - Beginning to factor. 276984 DEBUG [RMI TCP Connection(8)-9.4.2.196] (9.4.2.196 347) - Trying to see if 2 is a factor. 277115 DEBUG [RMI TCP Connection(7)-128.178.50.84] (128.178.50.84 359) - Trying to see if 5 is a factor. 277188 DEBUG [RMI TCP Connection(8)-9.4.2.196] (9.4.2.196 347) - Trying to see if 3 is a factor. 277318 DEBUG [RMI TCP Connection(7)-128.178.50.84] (128.178.50.84 359) - Trying to see if 6 is a factor. 277398 DEBUG [RMI TCP Connection(8)-9.4.2.196] (9.4.2.196 347) - Trying to see if 4 is a factor. 277520 DEBUG [RMI TCP Connection(7)-128.178.50.84] (128.178.50.84 359) - Trying to see if 7 is a factor. 277605 DEBUG [RMI TCP Connection(8)-9.4.2.196] (9.4.2.196 347) - Trying to see if 5 is a factor. 277728 DEBUG [RMI TCP Connection(7)-128.178.50.84] (128.178.50.84 359) - Trying to see if 8 is a factor. 277808 DEBUG [RMI TCP Connection(8)-9.4.2.196] (9.4.2.196 347) - Trying to see if 6 is a factor. 277931 DEBUG [RMI TCP Connection(7)-128.178.50.84] (128.178.50.84 359) - Trying to see if 9 is a factor. 278019 DEBUG [RMI TCP Connection(8)-9.4.2.196] (9.4.2.196 347) - Trying to see if 7 is a factor. 278138 DEBUG [RMI TCP Connection(7)-128.178.50.84] (128.178.50.84 359) - Trying to see if 10 is a factor. 278228 DEBUG [RMI TCP Connection(8)-9.4.2.196] (9.4.2.196 347) - Trying to see if 8 is a factor. 278348 DEBUG [RMI TCP Connection(7)-128.178.50.84] (128.178.50.84 359) - Trying to see if 11 is a factor. 278438 DEBUG [RMI TCP Connection(8)-9.4.2.196] (9.4.2.196 347) - Trying to see if 9 is a factor. 278559 DEBUG [RMI TCP Connection(7)-128.178.50.84] (128.178.50.84 359) - Trying to see if 12 is a factor. 278648 DEBUG [RMI TCP Connection(8)-9.4.2.196] (9.4.2.196 347) - Trying to see if 10 is a factor. 278768 DEBUG [RMI TCP Connection(7)-128.178.50.84] (128.178.50.84 359) - Trying to see if 13 is a factor. 278858 DEBUG [RMI TCP Connection(8)-9.4.2.196] (9.4.2.196 347) - Trying to see if 11 is a factor. 278970 DEBUG [RMI TCP Connection(7)-128.178.50.84] (128.178.50.84 359) - Trying to see if 14 is a factor. 279068 DEBUG [RMI TCP Connection(8)-9.4.2.196] (9.4.2.196 347) - Trying to see if 12 is a factor. 279178 DEBUG [RMI TCP Connection(7)-128.178.50.84] (128.178.50.84 359) - Trying to see if 15 is a factor. 279270 DEBUG [RMI TCP Connection(8)-9.4.2.196] (9.4.2.196 347) - Trying to see if 13 is a factor. 279387 DEBUG [RMI TCP Connection(7)-128.178.50.84] (128.178.50.84 359) - Trying to see if 16 is a factor. 279478 DEBUG [RMI TCP Connection(8)-9.4.2.196] (9.4.2.196 347) - Trying to see if 14 is a factor. 279598 DEBUG [RMI TCP Connection(7)-128.178.50.84] (128.178.50.84 359) - Trying to see if 17 is a factor. 279688 DEBUG [RMI TCP Connection(8)-9.4.2.196] (9.4.2.196 347) - Trying to see if 15 is a factor. 279808 DEBUG [RMI TCP Connection(7)-128.178.50.84] (128.178.50.84 359) - Trying to see if 18 is a factor. 279898 DEBUG [RMI TCP Connection(8)-9.4.2.196] (9.4.2.196 347) - Trying to see if 16 is a factor. 280018 INFO [RMI TCP Connection(7)-128.178.50.84] (128.178.50.84 359) - Found factor 359 280108 DEBUG [RMI TCP Connection(8)-9.4.2.196] (9.4.2.196 347) - Trying to see if 17 is a factor. 280318 DEBUG [RMI TCP Connection(8)-9.4.2.196] (9.4.2.196 347) - Trying to see if 18 is a factor. 280520 INFO [RMI TCP Connection(8)-9.4.2.196] (9.4.2.196 347) - Found factor 347