1

I want to configure the gc log so that it can write to a named pipe?

Does anyone know whether it is possible?

Chris Barlow
  • 3,274
  • 4
  • 31
  • 52
user3772724
  • 125
  • 6

1 Answers1

1

A named pipe is a type of file and you can write to it like any other file.

Try

-Xloggc:/my/named/pipe

Note: you want to make sure the pipe is being read or it could cause the JVM to stop.

Peter Lawrey
  • 525,659
  • 79
  • 751
  • 1,130