Log files when create graph

User 1286 | 2/24/2015, 9:50:30 AM

Dear all,

I ran many files related to graphlab. I got many log files in tmp folder. It occupys big space so that I got error as "IOError: [Errno 28] No space left on device". How can I set up that program not save log files in tmp when finishing running.

Thank you so much,

Comments

User 15 | 2/26/2015, 5:20:28 PM

Hi,

There is a way, but I have to warn you: it's not easy, intuitive, or ideal. Also, perhaps someone else built something easier in that I didn't find. If there isn't an easier way, we should make it available. Before you use it, it might be good to make absolutely sure that it is the log files from GLC that are taking up all this space and not, say, SFrames or something.

In any case, here it is:

<pre> import graphlab as gl gl.connect.main.launch(server_log='/home/evan/foo') </pre>

Unfortunately, you have to specify the filename, not the directory. The file doesn't have to exist though.

Hope this helps,

Evan