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,214
  • 4
  • 29
  • 51
user3772724
  • 125
  • 5

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
  • 513,304
  • 74
  • 731
  • 1,106