notification of printf cudaLimitPrintfFifoSize buffer exceeded?

printf in a kernel fills writes to a buffer of cudaLimitPrintfFifoSize
bytes. Once this is exceeded output is lost. Apart from inspecting
the output, is there an easy way of recognising that the device
printf buffer limit has been reached?

As always any help or suggestions would be most welcome.
Thank you
Bill
http://www.cs.ucl.ac.uk/staff/W.Langdon/