how to edit logger to record what we need as output
Dear Colleagues,
I want to edit logger to only record variables that I need, otherwise, there will be too much irrelevant details in the output file. But I don't know how to edit in "add custom variable". Does anyone know how to edit expected variables?
Many thanks in advance!
Best,
Olivia
Comments
Hi Oliviaa,
You're doing the right thing, but not using correct variable names. "math task" can't be a variable name, because of the whitespace in the middle. Maybe you first look at one of the log files that logs all variables, and write down the variable names that you want to keep, so that you know what to add to the logger via the "add custom variable" button.
Hope this helps,
eduard
HI @eduard
Thank you very much for your reply! I tried and it worked! By the way, instead of using the varible name from the log files, can I change variable names myself ?
Best,
Olivia
Hi Olivia,
Those that Opensesame generates itself, you cannot change. However, you could simply create new variables that are copies of the old ones. For example:
var.new_variable = var.old_variable
If you do it on every trial before the logger, you can add the new variable names to the logger and not the old ones. That should do what you are looking for, right?
Hope it helps,
Eduard