The Luyiji 錄異記 "Records of Strange Stories"
is a collection of stories of supernatural occurrences compiled by the late Tang period 唐 (618-907) writer Du Guangting 杜光庭, courtesy name Du Shengbin 杜聖賓, style Dongyingzi 東瀛子. He came from Jinyun 縉雲 in the prefecture of Chuzhou 處州 (modern Lishui 麗水, Zhejiang) and was Vice Minister of Revenue (hubu shilang 戶部侍郎). The bibliographic treatise in the official dynastic history Songshi 宋史 says that the Luyiji was 10 juan "scrolls" long, but the received version is divided into 8 juan. Although Du Guangting is known as a Daoist writer, the Luyiji is basically not a Daoist writing, as the bibliography Baiyunji daozang mulu 白雲霽道藏目錄 suggests. In the preface to the Luyiji Shen Shilong 沈士龍 says that the text came into being when Du Guangting served Meng Chang 孟昶 (r. 934-965), the ruler of the empire of Later Shu 後蜀 (934-965), as a "magician" (fangshu 方術). According to the text Yecheng ketan 冶城客記, the greast part of the Luyiji was written by Du Guangting himself. It is included in the Daoist Canon Daozang 道藏 and the collectaneum Mice huihan 秘冊匯函.
Du Guangting's Lujiyi must not be confused with a Jin period 晉 (265-420) collection called Luyizhuan 錄異傳 or Luyiji.
Source: Li Xueqin 李學勤, Lü Wenyu 呂文鬰 (1996). Siku da cidian 四庫大辭典, Changchun: Jilin daxue chubanshe, vol. 2, p. 2142.