Contextlog implementation

m?